- 30 Jun, 2009 9 commits
-
-
Grégory Wisniewski authored
is a critical operation (can cause data loss) that should only be done by an administrator. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@725 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- One the incoming (server) connections - Another for initiated (client) connections Remove checks and decorators no more usefull. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@724 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
database manager is deleted. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@723 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@722 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@721 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
retrieve the original connection - simplify if...else condition git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@720 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
AnswerPrimaryMaster is now expected to happen before NodeIdentification happens, so this test function becomes pointless. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@719 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Fix test_unknownNewPrimaryAnswerPrimaryMaster test (getNodeByUUID is called just once, so it retrieved the value intended for the check of answering peer connection). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@718 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@717 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 29 Jun, 2009 14 commits
-
-
Vincent Pelletier authored
- add trying_master_node where needed - decrease the expected number of getNodeByUUID calls by one, since the first lookup is rendered useless by splitting handlers. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@716 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@715 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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 2 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
-