diff options
| author | Alan Conway <aconway@apache.org> | 2012-11-14 16:04:04 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-11-14 16:04:04 +0000 |
| commit | 30abd1273d8a256e91026432811a957e84193a27 (patch) | |
| tree | f5aabeedba6b33fb9685ff441063194bdde3863a /cpp/src/tests/HeaderTest.cpp | |
| parent | 9a4bf82944e03e088a2ef392c2313748c984cf11 (diff) | |
| download | qpid-python-30abd1273d8a256e91026432811a957e84193a27.tar.gz | |
QPID-4428: HA add UUID tag to avoid using an out of date queue/exchange.
Imagine a cluster with primary A and backups B and C. A queue Q is created on A
and replicated to B, C. Now A dies and B takes over as primary. Before C can
connect to B, a client destroys Q and creates a new queue with the same name.
When B connects it sees Q and incorrectly assumes it is the same Q that it has
already replicated. Now C has an inconsistent replica of Q.
The fix is to tag queues/exchanges with a UUID so a backup can tell if a queue
is not the same as the one it has already replicated, even if the names are the
same. This all also applies to exchanges.
- Minor imrovements to printing UUIDs in a FieldTable.
- Fix comparison of void Variants, added operator !=
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1409241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/HeaderTest.cpp')
0 files changed, 0 insertions, 0 deletions
