- 13 Dec, 2010 4 commits
-
-
Vincent Pelletier authored
Storage doesn't vote here, it only stores transaction metadata. And we do want to make sure it was stored at least once. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2519 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
It was actually used to track individual answerStoreTransaction, and there is no need to track them individually. Instead, just set txn_voted to True before returning, so it really means that tpc_vote ended successfully. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2518 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
The only alternative to this is raising (either because there was no answer, or because the answer didn't satisfy our handler). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2517 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2516 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 10 Dec, 2010 9 commits
-
-
Vincent Pelletier authored
Also, fix bogus checkCurrentSerialInTransaction implementation (it was not properly locking object, allowing them to become non-current by the time tpc_finish occurs). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2515 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
...and fix its declaration. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2514 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
undoInfo comes from BaseStorage, which inherits it from UndoLogCompatible. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2513 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2512 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2511 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, some manual tweaks to fix easy differences between implementation and interface / related comments: - make name unique (provided name option is itself unique) - __name__ property definition is delegated to BaseStorage.__init__ - warn about _is_read_only as being somewhat part of the interface - make "load"'s "version" mandatory, and assert it is '' - store: likewise - registerDB shouldn't require a second argument - note that tpc_begin doesn't follow interface described behaviour when a commit is already running. This is a feature actually, and should be harmless to caller. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2510 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2509 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2508 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Update README to set minimum ZODB version instead of minimum Zope version. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2507 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 09 Dec, 2010 27 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2506 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2505 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2504 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2503 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2502 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2501 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2500 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2499 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2498 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2497 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2496 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This can happen when a non-waited-for answers is followed by a waited-for answer for the same node: the first answer is for the same connection, but has a different msg_id, so it was just dropped. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2495 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2494 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2493 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2492 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2491 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2490 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, move cache look-up to its own method, with an API consistent with _loadFromStorage. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2489 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2488 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2487 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2486 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2485 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
loadBefore(oid, tid1) must never return tid2 revision. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2484 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
We expect test to not return a value from cache, so make this value be really different from what test searches. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2483 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2482 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2481 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2480 71dcc9de-d417-0410-9af5-da40c76e7ee4
-