- 13 Jan, 2012 8 commits
-
-
Vincent Pelletier authored
The only difference between an aborted connection and a closed one is that packets sent just before aborting are pushed to the network before really closing the connection. But further sends must fail, and nothing should be received.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
There is no need to react on every packet to mark a node as running. This is updated on connection/disconnection, and it is sufficient.
-
Vincent Pelletier authored
Also, don't wait for client disconnection. Also, factorise packet creation.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 10 Jan, 2012 5 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
- Do not fetch data from outdated/discarded cells. - Do not return more than transactions than requested by 'limit' parameter. Anyway, all results above this 'limit' could contain holes.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 09 Jan, 2012 4 commits
-
-
Julien Muchembled authored
This fixes testStorageReconnectDuring{Transaction,Undo}Log unit tests. The change in testStorageReconnectDuringTransactionLog fixes a bug in the test itself. 'c.root()._p_serial' returned ZERO_TID. Application.undo is also updated so that 'waitResponses' do not use 'setHandlerData' anymore.
-
Julien Muchembled authored
This is another fix to commit 4720ba33.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Noticed because gitweb syntax colouring disliked it.
-
- 06 Jan, 2012 11 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
This fixes a regression in commit 4720ba33.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Inspired from "mdadm assemble --no-degraded" behaviour, which was brought up during a discussion on linux-raid mailing list about split-brain situation detection and avoidance.
-
Vincent Pelletier authored
-
Julien Muchembled authored
PortAllocator is broken by design and the only proper solution to run a NEO functional test without race condition with another software opening a random port is to use ... unix sockets.
-
Julien Muchembled authored
Keyword arguments are kept internally by the handler switcher, which passes them to the handler when the peer answers. This will be required by new replicator, so that 'setUnfinishedTIDList' receives the list of outdated partitions at the time the 'AskUnfinishedTransactions' packet was sent.
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 05 Jan, 2012 5 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
This comment just described the whole purpose of the code, so there is no XXX there.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
If start() fails here, it fail in the next test too (and any test until stop gets called).
-
- 03 Jan, 2012 7 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
For easier understanding of answerLastIDs' final else block.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Condition is true from the first iteration, as we just filled unconnected_master_node_set.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-