- 21 Apr, 2017 9 commits
-
-
Kirill Smelkov authored
* master: (76 commits) Silently ignore answers to packets that aren't ignored on closed connection Do not process any packet for aborted connections Fix sorting of delayed events Do never parse any packet from aborted connection fixup! Add file descriptor and aborted flag to __repr__ of connections fixup! qa: add a basic assertion in Patch to detect when patched code changes qa: fix occasional deadlock when starting subprocesses in functional tests client: Add support for zodburi bug: on exist/crash, storage space for non-voted data may be leaked storage: fix commit activity when cells are discarded or when they become readable client: speed up cell sorting on read-access qa: new ConnectionFilter.retry() Fix race when tweak touches partitions that are being reported as replicated qa: add a basic assertion in Patch to detect when patched code changes Forbid read-accesses to cells that are actually non-readable Fix potential EMFILE when retrying to connect indefinitely The partition table must forget dropped nodes master: make sure that storage nodes have an up-to-date PT/NM when they're added In STOPPING cluster state, really wait for all transaction to be finished master: fix random crashes on shutdown when using several master nodes ...
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
- 20 Apr, 2017 8 commits
-
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
- 19 Apr, 2017 11 commits
-
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Julien Muchembled authored
Commits like 7eb7cf1b ("Minimize the amount of work during tpc_finish") dropped what was done in commit 07b48079 ("Ignore some requests, based on connection state") to protect request handlers when they respond. This commit fixes this in a generic way.
-
Julien Muchembled authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
- 18 Apr, 2017 8 commits
-
-
Julien Muchembled authored
The initial intention was to rely on stable sorting when several events have the same key. For this to happen, sorting must not continue the comparison with the second item of events. This could lead to data corruption (conflict resolution with wrong base): FAIL: testNotifyReplicated (neo.tests.threaded.test.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "neo/tests/threaded/__init__.py", line 1093, in wrapper return wrapped(self, cluster, *args, **kw) File "neo/tests/threaded/test.py", line 2019, in testNotifyReplicated self.assertEqual([15, 11, 13, 16], [r[x].value for x in 'abcd']) File "neo/tests/__init__.py", line 187, in assertEqual return super(NeoTestBase, self).assertEqual(first, second, msg=msg) failureException: Lists differ: [15, 11, 13, 16] != [19, 11, 13, 16] First differing element 0: 15 19 - [15, 11, 13, 16] ? ^ + [19, 11, 13, 16] ? ^
-
Kirill Smelkov authored
name old time/op new time/op delta IndexLoad-4 2.49ms ± 1% 2.18ms ± 3% -12.39% (p=0.000 n=9+10) name old alloc/op new alloc/op delta IndexLoad-4 3.77MB ± 0% 3.49MB ± 0% -7.50% (p=0.000 n=8+9) name old allocs/op new allocs/op delta IndexLoad-4 1.98k ± 0% 0.53k ± 0% -72.96% (p=0.000 n=10+10)
-
Kirill Smelkov authored
Code generated for copy(posb[2:], posBuf[i*6:]) pos := int64(binary.BigEndian.Uint64(posb[:])) was awful. name old time/op new time/op delta IndexLoad-4 3.06ms ± 0% 2.49ms ± 1% -18.71% (p=0.000 n=9+10)
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Julien Muchembled authored
-
Julien Muchembled authored
'aborted' could appear twice.
-
Julien Muchembled authored
-
- 13 Apr, 2017 1 commit
-
-
Julien Muchembled authored
-
- 07 Apr, 2017 1 commit
-
-
Kirill Smelkov authored
-
- 06 Apr, 2017 1 commit
-
-
Kirill Smelkov authored
-
- 05 Apr, 2017 1 commit
-
-
Kirill Smelkov authored
-