An error occurred fetching the project authors.
- 17 Jan, 2011 1 commit
-
-
Olivier Cros authored
In order to prepare the eggification of the different neo parts, we created a new neo/lib module, containing all of the main neo's functions. It allows to make neo a virtual namespace, and so not containing module code anymore. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2615 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 23 Feb, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1839 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 10 Feb, 2010 1 commit
-
-
Vincent Pelletier authored
Remove hanlder methods for that packet in order to reveal if it happens in reality, so ti could be fixed. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1694 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Feb, 2010 3 commits
-
-
Vincent Pelletier authored
It has no meaning to stay in election state when the primary master is known. Also, it causes problems as the elected primary master will soon start sending packets we don't expect while election is running. handler/election.py: - Receiving announcePrimary is enough to exit election immediately, so reach election end condition (both sets must be empty) - Receiving answerPrimary with a known primary is enough to exit election immediately (don't attempt to connect to to primary master). app.py: - Apply PrimaryHandler while iterating over connections when the primary master connection is found, rather than once all other connections are closed. - If no primary master connection was found, start establishing one. handlers/secondary.py: - Handle connectionCompleted event as we might only reach primary master once with this handler if connection was not established during election. - Likewise, handle connectionFailed event, and treat it as a primary failure. - Stop ignoring answerPrimary packets, instead check that advertised primary master is the expected one and request node identification. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1583 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1576 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Almost any use of packet was to retreive the msg_id of the request and pass it to answer(). In storage's replicator, critical TIDs are indexed with UUID instead of remote connection ID (full replicator review required). In admin node, expected answers are still queued with the msg_id but it seems useless as no concurrent queries should happen. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1569 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Jan, 2010 1 commit
-
-
Grégory Wisniewski authored
This argument is useless as the peer who receive this packet is the one who starts the connection, so it already knows the peer remote address. Remove related (useless) checks and update unit tests. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1521 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Jan, 2010 1 commit
-
-
Grégory Wisniewski authored
UnexpectedPacketError is triggerred in BaseHandler. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1497 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 20 Jan, 2010 1 commit
-
-
Grégory Wisniewski authored
- Handle a node list instead of a single node - Send only one packet per peer, reduce bandwidth and latency - Remove the related XXX git-svn-id: https://svn.erp5.org/repos/neo/trunk@1451 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 13 Jan, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1420 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 07 Oct, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1362 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Oct, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1358 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Oct, 2009 2 commits
-
-
Grégory Wisniewski authored
prefix from everywhere. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1350 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
to avoid full module. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1334 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 30 Sep, 2009 2 commits
-
-
Grégory Wisniewski authored
Remove all (now useless) imports from protocol module. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1327 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
node manager. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1318 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 29 Sep, 2009 1 commit
-
-
Grégory Wisniewski authored
through those methods and node registration is automatic. There is no more need to import Node classes directly, so remove all related imports. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1312 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 04 Aug, 2009 1 commit
-
-
Grégory Wisniewski authored
file. New masters will be registered by an admin and their config updated to ensure no more than one master could run concurrently when they restart without known each other. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1170 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Aug, 2009 2 commits
-
-
Grégory Wisniewski authored
handlers. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1151 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
list to think about a global rename of handler's methods. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1148 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 31 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
the information to others. Remove an XXX: As for client node, a master don't leep its UUID, so it have to be dropped from nodes managers. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1121 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 30 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
because there are Connection class atttributes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1093 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 29 Jul, 2009 2 commits
-
-
Grégory Wisniewski authored
- Renaming _nodeLost to _handleConnectionLost and removing the node parameter whose the computation was done before each call to it. - Renaming _dropIt to handleNodeLost, currently called only from the base service handler, so the abstract definition as moved into it. In this case, a call ensure that the node is not None. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1090 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
about the cluster state. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1087 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1032 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 17 Jul, 2009 2 commits
-
-
Grégory Wisniewski authored
('0.0.0.0', 0) default value. This fix a client reject since they are no more referenced by the default address in the node manager. This affect protocol message *NodeIdentification, *PrimaryMaster, *NodeList and notifyNodeInformation git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@874 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
condition. Packet encoding and decoding handle None/INVALID_UUID mapping. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@871 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 10 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@846 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 08 Jul, 2009 2 commits
-
-
Grégory Wisniewski authored
- Split service.py file in two, one for the client sercice handler and the second for the storage. - Base class for those two handlers as moved in the module python file (as done in client and storage applications). - Remove moved storages from previous commit. - Update application code to use new module location - Fix a part of master tests. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@841 71dcc9de-d417-0410-9af5-da40c76e7ee4 git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@842 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
that update the node manager to ensure it's no more known as RUNNING, that caused 'invalid server address' errors when a node restart. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@825 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Jul, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@779 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Jul, 2009 1 commit
-
-
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
-
- 26 Jun, 2009 1 commit
-
-
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
-
- 24 Jun, 2009 3 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
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
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@667 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 22 Jun, 2009 1 commit
-
-
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
-
- 21 May, 2009 2 commits
-
-
Grégory Wisniewski authored
exception for all others errors. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@508 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
UnexpectedPacketError exception or decorators previously commited. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@504 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 19 May, 2009 1 commit
-
-
Grégory Wisniewski authored
through notify(), ask() and answer() methods instead of addPacket directly. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@483 71dcc9de-d417-0410-9af5-da40c76e7ee4
-