- 17 Dec, 2013 6 commits
-
-
Vincent Pelletier authored
Also, saves one local variable assignment in "hit" code path.
-
Vincent Pelletier authored
Use a non-intrusive code profiling tool with NEO instead, like pprofile.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Also, drop extraneous parentheses in another set's creation.
-
Vincent Pelletier authored
Nodes are likely to be running, so filtering before sort is unlikely to save time. Caller is likely to stop iterating after first yield connection ("load" case), so move filtering inside loop. Also, document non-straightforward code.
-
Vincent Pelletier authored
Connection is more often established than not, so do a first lookup without locking, and only acquire it if it misses. Then do a second lookup in case another thread also established connection, and connect if it still misses.
-
- 13 Dec, 2013 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
We think there's still a bug, in ZODB.Connection or ZPublisher/Publish, but since commit c277ed20, NEO does not require anymore that Storage.sync() is called in order to take into account invalidations that have already been received since the last tpc_finish. IOW, this is not the place for such fix because it's independant to NEO. ERP5 already ships it for ZEO (patch disabled by default).
-
Julien Muchembled authored
-
Vincent Pelletier authored
Replace a per-call cost with a constant one. Signed-off-by: Julien Muchembled <jm@nexedi.com>
-
- 21 Nov, 2013 1 commit
-
-
Vincent Pelletier authored
loadBefore is more likely than other loads, as it is how repeatable-read is implemented and the vast majority of accesses are scoped to a transaction. So put it first in 3-branches "if" choosing between load/loadBefore/loadSerial code paths. next_serial is likely to not be found, because application will likely operate on up-to-date objects. So a test is more efficient than a try..except. Inline this test in return statement to avoid defining a local.
-
- 12 Nov, 2013 2 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 08 Nov, 2013 5 commits
-
-
Julien Muchembled authored
Next version is actually a metapackage depending on: persistent 4.0 BTrees 4.0 ZODB 4.0 ZEO 4.0 Note that version '123dev' is considered lower than '123'
-
Julien Muchembled authored
-
Vincent Pelletier authored
Update (only) user.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 28 Oct, 2013 5 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
This fixes a bug causing a crash during tpc_finish phase when a storage involved in a transaction does not receive any object, but receives at least one CheckCurrentSerial request: no transaction was registered, and storage would fail to lock transaction when requested by master during tpc_finish phase.
-
Vincent Pelletier authored
-
- 03 Jan, 2013 1 commit
-
-
Julien Muchembled authored
-
- 06 Sep, 2012 1 commit
-
-
Julien Muchembled authored
-
- 27 Aug, 2012 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 26 Aug, 2012 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 23 Aug, 2012 8 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 22 Aug, 2012 1 commit
-
-
Julien Muchembled authored
-