- 30 Jul, 2009 6 commits
-
-
Vincent Pelletier authored
Add a more detailed logging of ERROR packets (print error code and message). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1098 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
in event.py, now before trigger the event. It's thread-safe because the connection is locked around the close(). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1097 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1096 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Rename partition_cell_states to cell_states to match with other names. Fix indent and unify imports. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1095 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1094 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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 31 commits
-
-
Grégory Wisniewski authored
Storage node register unknown storage node found in the database before loading the content into the partition table. So an update() can now expect to known the storage node. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1092 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
called from the generic handler. This allow use it in some part of client and storage handlers. Add some XXX... git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1091 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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
call because the implementation do nothing. This is used only in ClientEventHandler and so, no overloading is required. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1089 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
ensure any acces to those methods can be done on any connection from the event manager without crash the applications. This way is not less consistent than the previous where isServerConnection was defined on ClientConnection and so on... Replace any isinstance() calls with a connection as parameter by call to the attributes above. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1088 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
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1086 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
adn remove an XXX. Unify imports for protocol, remove unused variable. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1085 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1084 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1083 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
never send notifyNodeInformation packets to the master (and don't need to do this), so remove the associated method handler on the master side and thus remove an XXX. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1082 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
ptid is different. Storage node no more use a 'ptid' attribute on the app instance but use the getID() accessor from the PartitionTable class. PartitionTable.clear() now also reset the ptid. PartitionTable.load() do more checks (taken from master.recovery) git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1081 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Use max() instead of if <condition>: ... git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1080 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
fix a potential bug. The ptid attribute on app is still removed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1079 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
master handler to ensure that the master connection is well established. Check of greater ptid received with incremental partition table update is now done by the PartitionTable class. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1078 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Move all neo-related code from testZODB.py to __init__.py. This reduces dramaticaly the diffs between original testZODB.py and this copy. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1077 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1076 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Use neoctl to start the cluster automatically, and enable all storage nodes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1075 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
It is possible to loose a connection before master_conn was set (for example, when reconnecting to a master being shutdown). Fix this assert to ignore that case. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1074 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
table. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1073 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Only implement _dropId method in BaseServiceHandler class, as we have no broadcast to do except when we are primary master. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1072 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Raise a more specific exception when master connection was interrupted. NotReadyException should fit this use. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1071 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
docstring and comments. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1070 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1069 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1068 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make display order of nodes more natural (saves from iterating in node list a second time and factorises code a bit). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1067 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1066 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
consistency. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1065 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1064 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
many tests. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1063 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1062 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Jul, 2009 3 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1061 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1060 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1059 71dcc9de-d417-0410-9af5-da40c76e7ee4
-