summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/clustered_replication_test
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-11-24 20:07:24 +0000
committerAlan Conway <aconway@apache.org>2009-11-24 20:07:24 +0000
commita53255f11a8f8ee49aadec889981cea03934cc72 (patch)
tree680d2055af6297cfbf77e4eaa57f3c9f7d78f90d /qpid/cpp/src/tests/clustered_replication_test
parent892cfdf7c3578d27603c4ae4a54ac5aec101d521 (diff)
downloadqpid-python-a53255f11a8f8ee49aadec889981cea03934cc72.tar.gz
Support for restarting a persistent cluster.
Option --cluster-size=N: members wait for N members before recovering store. Stores marked as clean/dirty. Automatically recover from clean store on restart. Stores marked with UUID to detect errors. Not yet implemented: consistency checks, manual recovery from all dirty stores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883842 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/clustered_replication_test')
-rwxr-xr-xqpid/cpp/src/tests/clustered_replication_test6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/clustered_replication_test b/qpid/cpp/src/tests/clustered_replication_test
index 4f13b4672c..49d788f41e 100755
--- a/qpid/cpp/src/tests/clustered_replication_test
+++ b/qpid/cpp/src/tests/clustered_replication_test
@@ -54,10 +54,10 @@ if test -d $PYTHON_DIR; then
. $srcdir/ais_check
#todo: these cluster names need to be unique to prevent clashes
- PRIMARY_CLUSTER=PRIMARY_$(hostname)_$(pwd)
- DR_CLUSTER=DR_$(hostname)_$(pwd)
+ PRIMARY_CLUSTER=PRIMARY_$(hostname)_$$
+ DR_CLUSTER=DR_$(hostname)_$$
- GENERAL_OPTS="--auth no --no-module-dir --no-data-dir --daemon --port 0 --log-enable notice+ --log-to-stderr false"
+ GENERAL_OPTS="--auth no --no-module-dir --no-data-dir --daemon --port 0 --log-to-stderr false"
PRIMARY_OPTS="--load-module ../.libs/replicating_listener.so --create-replication-queue true --replication-queue REPLICATION_QUEUE --load-module ../.libs/cluster.so --cluster-name $PRIMARY_CLUSTER"
DR_OPTS="--load-module ../.libs/replication_exchange.so --load-module ../.libs/cluster.so --cluster-name $DR_CLUSTER"