- 24 Jun, 2009 18 commits
-
-
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
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@674 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
table ID. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@673 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@672 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
since the 'name' handler parameter is not positional-fixed nor a keyword argument. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@671 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@670 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@669 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@668 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@667 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
information message to admin node git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@666 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
partition table git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@665 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@664 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 23 Jun, 2009 7 commits
-
-
Grégory Wisniewski authored
functions. Factorise check of enum based values and string decoding. Unify tuple unpacking by always using parenthesis. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@663 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@662 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
mistake. Add an helper method on the event manager to retreive a connection from an UUID. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@661 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
ERROR since we don't want any useless packets. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@660 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Add handler method - Fix encoding and decoding - Add cluster state enumeration Fix exception handling in newer packet decoders (no more except *: ) git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@659 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
scratch. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@658 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
- refuse any new connection - refuse any new transaction git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@657 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 22 Jun, 2009 13 commits
-
-
Grégory Wisniewski authored
current partition table ID. The next partition table ID is now computed by the master's PartitionTable instance. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@655 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@654 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@653 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@652 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
to RUNNING state when requested by the admin node. This feature can be disabled by setting neo.master.ENABLE_PENDING_NODES to False. The neoctl syntax is : neoctl add (all | UUID+) and display UUIDs of added storage nodes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@651 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@650 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Tiny inner loop optimisation on list append. Remvoe unneeded (obvious) comments. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@649 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Get connection from the cell (loop variant) rather from the node (loop invariant, remain from a loop higher in the same method). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@648 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Use an intermediate set() to remove duplicate tids (as we request data from all storage nodes, the same tid wille be reported one time per node replicating it). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@647 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@646 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@645 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@644 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@643 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 19 Jun, 2009 2 commits
-
-
Vincent Pelletier authored
Add a getConnForCell method to ConnectionPool class. Use getConnForCell instead of getConnForNode in each place where a Cell is placed instead of a node. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@642 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@641 71dcc9de-d417-0410-9af5-da40c76e7ee4
-