- 05 Jul, 2012 2 commits
-
-
Julien Muchembled authored
During election, nodes are not identified anymore. testElectionWithManyMasters only worked thanks to the election timeout.
-
Julien Muchembled authored
-
- 19 Jun, 2012 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 23 Apr, 2012 2 commits
-
-
Vincent Pelletier authored
Also, change the way TTIDs are generated in preparation for that bug's fix: we will need TTID to be monotonous across master restarts and TID generator provides this feature.
-
Vincent Pelletier authored
This should never trigger, as gmtime bases itself on a unix epoch timestamp which is non-monotonous on leap seconds. So gmtime cannot return second count above 59.
-
- 17 Apr, 2012 1 commit
-
-
Vincent Pelletier authored
-
- 26 Mar, 2012 5 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Prepares for type change so it is easily reversible.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Fixes two bugs: - IPv6 addresses are now put in canonical form. - non-IPv6 port-less addresses are resolved. Also, simplify url-style IPv6 parsing. Also, rename "ip" into more generic naming "host".
-
- 22 Mar, 2012 9 commits
-
-
Vincent Pelletier authored
The only case where UUID persistence matters is on storage nodes, and it is already restored from database if available.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Missed in 4df3c4e1.
-
Julien Muchembled authored
-
Vincent Pelletier authored
Since lib.protocol has been rewritten to be semantic-oriented and duplicates a lot less code, this test is just bloated (testing the same code over and over) and a maintenance burden.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
It is intended to raise even when running in optimised mode. The intent of that change was to allow interpreter to detect the last elif is not expected to be needed (although it is not known to make such deductions currently). If only python had a deeper "enum" notion... This (very) partially reverts f32e9120.
-
Vincent Pelletier authored
-
- 21 Mar, 2012 11 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Also, log node's final UUID, not the one it advertised.
-
Vincent Pelletier authored
Also, tweak condition order to accelerate the most likely case: it is expected to have more clients than storage nodes, more storage nodes than master nodes, more master nodes than admin nodes and no unknown node type.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
In turn, stop returning uuid from identifyNode.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
We are testing values coming from an Enum, and we are testing all existing values.
-
Vincent Pelletier authored
-
- 20 Mar, 2012 7 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Julien Muchembled authored
-
Julien Muchembled authored
The main goal of this patch is to keep all DEBUG logs and packet logger enabled without exploding disk usage. This is done by keeping the last 16 MB (by default) of debugging information in a RAM buffer, and to emit it to an SQLite DB upon RTMIN signal or in case of warning and more severe log. Implementation is also cleaned up for better integration within a framework or if run standalone. NEO logger is now a direct child of root handler. Only warnings and more severe logs are forwarded to root handler. A new script 'neolog' is added to pretty-print the contents of the SQLite log. In unit tests, logging events are not buffered but emitted immediately. When a test passes, payloads of all exchanged packets are discarded to reduce disk usage on test bots. This slows down performance tests by about 15 % because even if nothing is written to disk, debug and packet log records are now always rendered.
-
- 19 Mar, 2012 1 commit
-
-
Vincent Pelletier authored
-