summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpidd.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-12-13 19:30:12 +0000
committerAlan Conway <aconway@apache.org>2013-12-13 19:30:12 +0000
commit5c64daa10dd416d221ef56b211341d4e45da2500 (patch)
tree7f7b6fd825ca228c5b324d356ccc311e893501cb /qpid/cpp/src/qpidd.cpp
parent4daedb1549d71f2c472ad77cc6f531423711819a (diff)
downloadqpid-python-5c64daa10dd416d221ef56b211341d4e45da2500.tar.gz
QPID-5421: HA replication error in stand-alone replication
There were replication errors because with stand-alone replication an IdSetter was not set on the original queue until queue replication was set up. Any messages on the queue *before* replication was setup had 0 replication IDs. When one of those messages was dequeued on the source queue, an incorrect message was dequeued on the replica queue. The fix is to add an IdSetter to every queue when replication is enabled. The unit test ha_tests.ReplicationTests.test_standalone_queue_replica has been updated to test for this issue. This commit also has some general tidy-up work around IdSetter and QueueSnapshot. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1550819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpidd.cpp')
0 files changed, 0 insertions, 0 deletions