diff options
author | Alan Conway <aconway@apache.org> | 2010-07-23 01:48:59 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-07-23 01:48:59 +0000 |
commit | 0e500f1263b0d4fcee94c948b15afca719cf8616 (patch) | |
tree | c575e633ec7f3d20436ddf3c5a6a822034d8d52a /cpp/src/qpid/cluster/Cluster.h | |
parent | a621976b2626148ad00b4909198d9c9d6ae9426d (diff) | |
download | qpid-python-0e500f1263b0d4fcee94c948b15afca719cf8616.tar.gz |
Race condition in cluster+management, inconsistent errors like:
"confirmed < (2097+0) but only sent < (2096+0)"
Management messages are generated if a managed objects properties have
changed since the last update. Properties of the cluster object
(members and status) were sometimes being changed outside the delivery
context which could create inconsistencies in the cluster.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.h')
-rw-r--r-- | cpp/src/qpid/cluster/Cluster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.h b/cpp/src/qpid/cluster/Cluster.h index 5668d04996..1f8fd447a3 100644 --- a/cpp/src/qpid/cluster/Cluster.h +++ b/cpp/src/qpid/cluster/Cluster.h @@ -196,6 +196,8 @@ class Cluster : private Cpg::Handler, public management::Manageable { void requestUpdate(Lock& ); void initMapCompleted(Lock&); void becomeElder(Lock&); + void setMgmtStatus(Lock&); + void updateMgmtMembership(Lock&); // == Called in CPG dispatch thread void deliver( // CPG deliver callback. |