- 06 Aug, 2009 9 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1218 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Do not conditionaly define locking classes, so that they can be available independently from VERBOSE_LOCKING value for finer-grained lock tracing. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1217 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1216 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1215 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Add expectCluster<State>() on NeoCluster - expectNoOutdatedCells renamed as expectOutdatedCells to expect a given number a cell in OUT_OF_DATE state. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1214 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1213 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1212 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1211 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
to the method, raise NotReadyError in each method because the master connection is not always required. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1210 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Aug, 2009 31 commits
-
-
Grégory Wisniewski authored
attribute. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1209 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
NotReady exception to let the handler dispatch method send the answer. NotReady can now receive a custom message. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1208 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1207 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1206 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
neoctl command on disconnected nodes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1205 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
getConnection(). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1204 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1203 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Merge and simplify admin handler classes to hanle just 2 cases: expected answer, and the rest. This fixes cluster state notification handling (which used to only log a line because the hadler method was defined twice...). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1202 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
in NeoCluster class. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1201 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1200 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1199 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1198 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
The existing code was exiting election loop too early, as there might not have been an identified connection to primary master (ask/answerPrimaryMaster is quicker than ask/answerPrimaryMaster + request/acceptNodeIdentification). The correct way is to stop waiting for connections to nodes other than primary master, and this can be done in answerPrimaryMaster. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1197 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1196 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1195 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
No need to cleanum NodeManager content when connection to primary master is closed, since we will anyway flush it when trying to reconnect to a primary master. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1194 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Change primary master state to RUNNING, as we are indeed connected to it (and it won't notify of its own state). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1193 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Add a new Node state: UNKNOWN_STATE. In this state, nodes are supposed to be RUNNING, but there was no successful attemp to connect to them yet, nor any notification that they were running. This is especially useful in tests to avoid a stopped node to appear as RUNNING until receiving a notification that it is in fact DOWN. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1192 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
others test cases. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1191 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
processes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1190 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make all election handler classes inherit from ElectionHandler: master will send a notification to all nodes that a new master appeared, which includes the new master itself, so it must expect a NotifyNodeInformation packet. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1189 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1188 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1187 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1186 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Add extra checks when stopping primary master: now check that current primary master is None before expecting a new one to appear. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1185 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1184 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Hence, don't add non-running nodes to unconnected_master_node_set before each election attempt. Preserve negotiating_master_node_set between attemps to reuse possibly pending connections. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1183 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1182 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- Add expect* methods, to allow continuing as soon as a condition is encountered. - Define master node count as a constant. - Make getMasterNodeList able to filter on node state. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1181 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
case. Fix dirty work on getTwoIDs() and replace while loops by a simple check and two ordered UUIDs are needed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1180 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
from NeoTestBase. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1179 71dcc9de-d417-0410-9af5-da40c76e7ee4
-