- 29 Jun, 2009 12 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@714 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@713 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@712 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@711 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@710 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- it does not register new primary nodes (this only needs to be implemented in the handler as primary node will always send all nodes it knows) - it sets app.trying_master_node to None when connection fails git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@709 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@708 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@707 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@706 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
only send START_OPERATION message is master is in RUNNING state git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@705 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@704 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@703 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Jun, 2009 15 commits
-
-
Grégory Wisniewski authored
verification stage since it's unexpected because the master already got a partition table it trust and do not ask another. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@702 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@701 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@700 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@699 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@698 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Implement message queue. This change makes poll handle at most one packet per call, instead of handling all pending packets at once. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@697 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Only catch KeyErrors generated when fetching a connection to avoid hiding other exceptions. (missed in r687) git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@696 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@695 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@694 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@693 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
pass msg_id to register so that we can answer to neoctl request with right id git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@692 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
'SecondaryEventHandler', used in the secondary role, is now renamed as PrimaryMasterEventHandler since a secondary is only connected to the primary. On the other side, the primary apply the SecondaryMasterEventHandler on it's master connections. Factorize code in connection(Closed|Timeout)/peerBroken and avoid some checks of conditions that can be assume in specialized handlers. Clean imports and remove some instance checks. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@691 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
- one for bootstrap - one for monitoring - one for answer to request add a dispatcher class to manage messages git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@690 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@689 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Send StartOperation packet to running storage nodes only. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@688 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 25 Jun, 2009 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@687 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- All incoming connections start with the identification handler which will apply the right handler depending on the current cluster state and the node type. So we are now sure that a node is well identified, got an UUID and is registered into the node manager when it leaves the identification handler. - During service, clietnt and storage nodes have their own handler git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@686 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
exception during packet decoding or processing. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@685 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Jun, 2009 10 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@684 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
one storage node. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@683 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
the current cluster state, so the primary master should not change the admin's connection handler when doing a state-switch. Factorise a little the response to an identification request. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@682 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- first, asks which master is the primary - then, when connected to the primary, request node identification - then, ask explicitely for partition table and node information, to follow query/answer schema. Details: - Master: - Move handleAskPrimaryMaster, handleAskNodeInformation and handleAskPartitionTable implementations to base handler to factorise code - handleRequestNodeIdentification is not required any more in secondary mode, only handleAskPrimaryMaster - Client: - Make bootstrap handler and master connection behave more similarly to on storage's equivalents - Remove PrimaryHandler (moved into PrimaryNotificationsHandler) - parse master node configured ip list just once, and register them to node manager just once (in app's __init__) git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@681 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@680 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@679 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@678 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
- wait for all transaction to finish - ask all other nodes to shut down if cluster is shutting down git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@677 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
ignored if we are stopping all storage and master nodes git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@676 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
thus don't need to be imported. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@675 71dcc9de-d417-0410-9af5-da40c76e7ee4
-