- 08 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
with address of the peer it is connecting to. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@833 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 07 Jul, 2009 1 commit
-
-
Vincent Pelletier authored
Make MTClientConnection.ask register message to dispatcher. This makes sure registration happens before the message has a chance of being sent. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@807 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 06 Jul, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@784 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Jul, 2009 9 commits
-
-
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@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
- 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 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@759 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@758 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@757 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Jul, 2009 3 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@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
-
- 29 Jun, 2009 3 commits
-
-
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
-
- 24 Jun, 2009 1 commit
-
-
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
-
- 22 Jun, 2009 8 commits
-
-
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 3 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
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@639 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 17 Jun, 2009 2 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@635 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
per-instance lock is acquired before invoke any partition table method from the client app. Update tests. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@632 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 16 Jun, 2009 1 commit
-
-
Grégory Wisniewski authored
node types. Add getCellListForID() in which is computed the cell related to an OID or TID. Add _getPartitionTable() accessor in client application that check if the master connection is established or not, and reconnect to obtain the last partition table. Move the connecting_to_master_node lock in the accessors instead of connectToPrimaryMaster(). This latter method is also set as private. Note that the connection to primary master is not established at client startup but when trying to access to the partition table or the primary connection. Split tests for the partition table and update others tests altered with changes above. Fix a database name for mysqldb module, remove some unused import. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@627 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 15 Jun, 2009 2 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@620 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@619 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 12 Jun, 2009 2 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@609 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@608 71dcc9de-d417-0410-9af5-da40c76e7ee4
-