- 06 Jul, 2009 19 commits
-
-
Vincent Pelletier authored
Make handleAnswerPrimaryMaster, handleRequestNodeIdentification and handleAskPrimaryMaster resilient to connection loss. As they are involved in question-response exchanges during election on connections which will get dropped as soon as a master arises, they must check if the connection is still opened before trying to send. Note: the connection might get closed anyway during the actual send, but this is handled separately already. The problem we fix here emerged because of more tedious checkings in Connection's ask & answer methods. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@799 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
consistent with client <> master communication. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@798 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Don't let polling thread die from any exception. Instead, emit a log with exception traceback and retry polling. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@797 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@796 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@795 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
The recovery stage is used only one time, when switching to primary state. Each time the cluster lost the operational status (a cell has no up to date node), the verification stage restart. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@794 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
storage is gathering the full table. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@793 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@792 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
already known by UUID. This avoid duplicate entries in the node manager. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@791 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
broadcast it as down state. Just broadcast its information and running state. Master don't send the partition table to storage node, they are it from the initialization storage stage. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@790 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@789 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Move common handlers in handler.py module. Add InitializationHandler, applied on the master connection while retreiving the partition table and node list. Replace a call to (inexistant) method handleUnexpectedPacket with a raise of UnexpectedPacketError exception. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@788 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- test more steps - fix erroneous assertion - use a local variable to detect that all handler were executed, rather than a class variable git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@787 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@786 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@785 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@784 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
handlers/replication.py in commit #778. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@783 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@782 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@781 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Jul, 2009 19 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@780 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@779 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@778 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
directory. Replicator's handler is moved into handlers/replication.py. Clean some imports. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@776 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@775 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@774 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- Split completely expected packet handlers from asynchronous event handlers - Remove NEOStorageConnectionFailure exception and replace it by a more general "ConnectionClosed" exception, purely internal to client app. - Modify waitMessage to redirect to a handler based on remote peer type - Fix multiple code paths taken when master doesn't accept connections (or closes them) while trying to conenct to it. Also: - remove unused imports found by pyflakes git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@773 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@772 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@771 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@770 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Add lock/release around each "close" call in client which wasn't already locked. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@769 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@768 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@767 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@766 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- generic base handler - client connection handlers - master connection handlers git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@765 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Update users. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@764 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@763 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@762 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
For now, it's a no-op for any non-storage node. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@761 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 02 Jul, 2009 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@760 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@759 71dcc9de-d417-0410-9af5-da40c76e7ee4
-