An error occurred fetching the project authors.
- 01 Mar, 2010 1 commit
-
-
Grégory Wisniewski authored
Merge both into 'connector' only to simplify API. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1884 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 22 Feb, 2010 4 commits
-
-
Grégory Wisniewski authored
Singeltons can not be used in NEO because client side process may deals with multiple NEO cluster. Add a callback on connection when linked with a node to update node's connection property at connection closure. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1826 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1819 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1814 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1812 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 19 Feb, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1800 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 12 Feb, 2010 4 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1733 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1732 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Packets are sent are next poll(), there is no reason to register first packets to clients nodes (at most one packet per connection here). git-svn-id: https://svn.erp5.org/repos/neo/trunk@1731 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1730 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 11 Feb, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1710 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 10 Feb, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1707 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 04 Feb, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1636 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Feb, 2010 2 commits
-
-
Vincent Pelletier authored
Also, don't add 10 to "t" on each iteration. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1608 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1605 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 02 Feb, 2010 6 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1592 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Replace verification handler (statefull handler) - Include 'verifyData', 'verifyTransation' and verification related attributes. - Define 'runManager()' method for future purpose (with other managers). - Include all 'VerificationFailure' exception related handling. - Remove support of 'VERIFYING' cluster in 'changeClusterState' as the manager takes precedence. - Move VerificationException in verification module. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1590 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
To allow latter give an instance instead of a class. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1589 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1588 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1587 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1586 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Feb, 2010 6 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1584 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1582 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1578 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1577 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
-
- 29 Jan, 2010 5 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1554 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1552 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This state was only internal to master node, and was not even consistently handled in master (only the first election was done in that state). changeClusterState was never called with that state as parameter. Finally, remove this state from protocol as it's not used any longer. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1550 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
So that unknown nodes, to which no connection succeed for the current election, are dropped from election process. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1549 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1548 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Jan, 2010 3 commits
-
-
Grégory Wisniewski authored
- Nodes start in UNKNOWN state. - Running and Unknown nodes are candidates during election. - Set temporarily down if an established connection is lost. - Keep in unknown state if a connection fails. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1541 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
After the AnswerPrimary was received, the unconnected_master_node_set was filled with the primary address, causing a new connection at the next iteration in the _doElection method. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1540 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1534 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 27 Jan, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1516 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Jan, 2010 4 commits
-
-
Grégory Wisniewski authored
Bug fix: If cell_list was greater than 10000 items, some connections would receive a partial update. As split big packets is under consideration, send all the cells in one packet for now. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1513 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1512 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
As some client connections could have been established (but not accepted) during the previous poll(), the current client connection list can have more than one item. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1510 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Avoid have a 'break' at the first level and the end of the 'wile True' - Set try/except block around the only location where the exception can be raised. - Reduce indentation - Clarify that the loop purpose is to restart when an exception is raised. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1507 71dcc9de-d417-0410-9af5-da40c76e7ee4
-