From 43e3f4fda38d3df6eb035c74233caf64c75bee62 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 12 Oct 2012 18:38:53 +0000 Subject: QPID-4369: HA backup brokers core dump in benchmark test. Was seeing core dumps with QueueReplicator::queue == 0. Caused by race conditions when calling QueueReplicator::deactivate. Renamed deactivate to destroy and call it only when the broker::Queue is destroyed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397676 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/qpid-cluster-benchmark | 2 -- 1 file changed, 2 deletions(-) (limited to 'qpid/cpp/src/tests') diff --git a/qpid/cpp/src/tests/qpid-cluster-benchmark b/qpid/cpp/src/tests/qpid-cluster-benchmark index 610beacebd..3e6b805692 100755 --- a/qpid/cpp/src/tests/qpid-cluster-benchmark +++ b/qpid/cpp/src/tests/qpid-cluster-benchmark @@ -55,12 +55,10 @@ done shift $(($OPTIND-1)) CONNECTION_OPTIONS="--connection-options {tcp-nodelay:$TCP_NODELAY,reconnect:$RECONNECT,heartbeat:$HEARTBEAT}" -CREATE_OPTIONS="node:{x-declare:{arguments:{'qpid.replicate':all}}}" BROKER=$(echo $BROKERS | sed s/,.*//) run_test() { echo $*; shift; "$@"; echo; echo; echo; } OPTS="$OPTS $REPEAT $BROKERS --summarize $QUEUES $SENDERS $RECEIVERS $MESSAGES $CLIENT_HOSTS $SAVE_RECEIVED $CONNECTION_OPTIONS $NO_DELETE" -OPTS="$OPTS --create-option $CREATE_OPTIONS" run_test "Benchmark:" qpid-cpp-benchmark $OPTS "$@" -- cgit v1.2.1