- 02 Jul, 2009 7 commits
-
-
Vincent Pelletier authored
Make ask, notify and answer raise ConnectorConnectionClosedException when called on a closed connection. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@754 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
more usefull. Storage clear its partition table before asking it, this prevent duplicate entries but should not be required. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@753 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
handled by the identification handler which apply the right handler depending on the peer node type. Client and storage incoming connections are refused until the storage reach the operation state, but the listening port is open to ensure it's available, tryAgain errors are sent to wrong nodes. Remove decorators because connection type is implied by handler type. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@752 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Update callers. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@751 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Only close master_conn is it is set. Add an assertion before closing to verify that if there is any master connection closed after primary master is set is the primary master connection itself. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@750 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
during bootstrap stage. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@749 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@748 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Jul, 2009 14 commits
-
-
Vincent Pelletier authored
Don't restart a complete connection to primary master when requestNodeIdentification fails (for example if master is not ready). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@747 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@746 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@745 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@744 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@743 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Expect AcceptnodeIdentification message in secondary handler connected to primary master. It will be received just once (upon election state exit). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@742 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Replace a bare "pass" with a warning log, as this case should never happen (to be upgraded to a raise someday). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@741 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@740 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@739 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
to be implemented in each sub handler, especially in the operation handler. Calls to those methods in a wrong handler will directely fallback to the neo base handler. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@738 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@737 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
on _dropIt() method. Revert it but fix a wrong call at same time. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@736 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
node informations before entering in service/replication stage. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@735 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
parameter isn't usefull and was missing in some calls. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@734 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 30 Jun, 2009 17 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@733 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
without give the choice to an admin to discard the node's content. Now a node can be dropped only when requested by the admin node or when a storage has changed its address (this case should be checked and discussed). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@732 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
a listening connection (as requested in the storage when connecting to the primary master). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@731 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
be applied on a server connection, thus connectionAccepted and handleRequestNodeIdentification are removed. Remove also some code that should not be reached, those king of errors should be checked by unit tests on app.py. Remove handler method that ignore packets to improve the protocol weakness. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@730 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
socket after the primary master connection succeed, because we don't want to any incoming connections during bootstrap stage. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@729 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@728 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
handler to avoid the application crash. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@727 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
any client connections when keaving the RUNNING state. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@726 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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 2 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
-