- 07 Aug, 2009 13 commits
-
-
Vincent Pelletier authored
Add a debug_lock parameter to custom locking class, allowing to turn locks into debugging locks. Thos locks will complain (in a way similar to deadlocks) when acquired twice without being released. This makes it easier to assert execution flow when tracking down a bug. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1249 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1248 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
directory. Do the same for the testStartWithManyPartitions and fix an unused parameter on StorageTests.__setup(). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1247 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
it's own directory to easily find related log files. The NeoFunctionalTest class is added to provide the getTempDirectory() that return the path for the current test method. Master functional test case now have the neo attribute, all test cases inherit from NeoFunctionalTest. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1246 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Add a test which just starts a cluster with more than 1000 partition (to test partition packet splitting). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1245 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
will shutdown. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1244 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1243 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1242 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
allowed to set a disconnected node to DOWN state and drop it from the partition table. A global review of node state alteration by the admin node is required to ensure all and no less-or-more is allowed here. Add a TODO entry about that. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1240 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1239 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
due to a master's administration handler bug. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1238 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
exception to let the base handler send the packet. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1237 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
with other enums... git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1236 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 06 Aug, 2009 26 commits
-
-
Grégory Wisniewski authored
- replication check first if all storage are up - add a test to check that nodes with conflicting UUIDs are rejected. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1235 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
more an issue with non-empty nodes since commit #1228. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1234 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Move sql connection establishment to NEOCluster class, as it requires the knowledge of SQL login & password. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1233 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1232 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1231 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1230 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
changes because if the node have to be dropped (set in DOWN state), the partition table update will contains it's UUID after it was removed from the storages partition table and they will fails to find the related node. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1229 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
not related to partitions currently assigned to a storage node. This is required because an old node can come back, get a new UUID, start replication and a conflict on (oid, serial) with the cluster it is joining. As there is now check on the object integrity, the object will not be replicated and a bad object will be kept. So during storage initialization, after getting the full partition table, a storage look if there is partitions unassigned to it and drop data for those partitions. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1228 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1227 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Simplify the neo setup behing testZODB to accelerate it. Complex partition tables should be tested in testStorage.py. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1226 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Add a test for partition replication. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1225 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
the master node, thus when it forward this answer to neoctl, the expected packet type is always noError. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1224 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1223 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1222 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Even if a handler raises, the connection might still contain pending packets. So it should not prevent appending the connection to the list. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1221 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1220 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
terms. Use them in testImportExport and switch some methods to private visibility. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1219 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1218 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Do not conditionaly define locking classes, so that they can be available independently from VERBOSE_LOCKING value for finer-grained lock tracing. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1217 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1216 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1215 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Add expectCluster<State>() on NeoCluster - expectNoOutdatedCells renamed as expectOutdatedCells to expect a given number a cell in OUT_OF_DATE state. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1214 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1213 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1212 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1211 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
to the method, raise NotReadyError in each method because the master connection is not always required. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1210 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Aug, 2009 1 commit
-
-
Grégory Wisniewski authored
attribute. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1209 71dcc9de-d417-0410-9af5-da40c76e7ee4
-