- 20 Jan, 2010 15 commits
-
-
Grégory Wisniewski authored
- testUtil module is now empty, but kept for futur tests. - NeoTestBase got a new getNextTID() method with a copy/paste from master's transactions manager to generate TIDs. - testProtocol module no more import getNextTID() from neo.util module - testTransactions test module is updated to test new features provides by transactions manager. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1456 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Instead of let the ltid in the master app module, the transaction manager keep it and compute the next each time a transaction begins. The getNextTID() method has moved from util to transactions module. Last TID collected during recovery is also handled by the transaction manager through setLastTID() method. Any reference to app.ltid are updated, git-svn-id: https://svn.erp5.org/repos/neo/trunk@1455 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1454 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1453 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
The manager kept track of pending (unfinished) transactions initiated by the client nodes and locked by storage nodes. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1452 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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
-
Grégory Wisniewski authored
MySQLManager.close() is only used in tests where many connections are opened. In a storage process, the connection is opened only once and kept until it shutdown. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1450 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1449 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1448 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Now the broadcastPartitionChanges() method check itself the cell_list content. - If empty, it does nothing. - If not empty, it generate itself the next PTID and broadcast the changes. Remove the related XXX. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1447 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- An update means that the item must be already known - The __call__ replacement for __str__ might be a false good idea - Module neo.master.test.connector no more exists - XXX in client/app.py is related to deleted code. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1446 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Rollback out of a transaction is not an issue with MySQL. - Any unimplemented packet type must fallback to default handler and raise UnExpectedPacketError exception. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1445 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1444 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1443 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Delayed node acceptation - Verification process review - Partition table tweaking improvement required - Node/Connection state review - Error packet review git-svn-id: https://svn.erp5.org/repos/neo/trunk@1442 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 14 Jan, 2010 12 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1441 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Objects no more related to currently assigned partitions are flushed from relationnal database since implementation of PartitionTable.dropPartition() in r1228. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1440 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
See r1356 and followings. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1439 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1438 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Use the client's service handler because of handler split - Fix use of identifyToMasterNode() - Set IDs on packets - Use new-style packet decoding git-svn-id: https://svn.erp5.org/repos/neo/trunk@1437 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1436 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Don't test the case where no UUID is available, this is ensured by identification handler - When cluster leave operational state, the PTID *must* not change,fix the assertion. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1435 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1434 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1433 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1432 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1431 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1430 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 13 Jan, 2010 13 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1429 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
AskLastIDs, AnswerLastIDs, AskUnfinishedTransactions git-svn-id: https://svn.erp5.org/repos/neo/trunk@1428 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1427 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Set an identifier on the packet. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1426 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
As client nodes don't keep their UUID between two connections, drop node from memory at disconnection to avoid memory leak. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1425 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1424 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1423 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1422 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1421 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1420 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
The only purpose of BaseServiceHandler is to handler broken/timeout/... events, and this behaviour is required during verification stage to raise VerificationFailure exception when a storage node required is lost. This was found by failing unit tests. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1419 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Only storage nodes are binded to the verification handler, so there no need to check with a master node. Moreover, initial nodes are set in UNKNOWN state. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1418 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Merge getNextOID() and getNewOIDList() test cases as the implementation does two-in-one. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1417 71dcc9de-d417-0410-9af5-da40c76e7ee4
-