1. 25 Apr, 2017 3 commits
  2. 24 Apr, 2017 1 commit
  3. 21 Apr, 2017 14 commits
    • Kirill Smelkov's avatar
      . · 632042db
      Kirill Smelkov authored
      632042db
    • Kirill Smelkov's avatar
      . (merge fixup) · 09d0e267
      Kirill Smelkov authored
      09d0e267
    • Kirill Smelkov's avatar
    • Kirill Smelkov's avatar
      X Regenerate marshal.go after merge · 5576b24e
      Kirill Smelkov authored
      5576b24e
    • Kirill Smelkov's avatar
      X Sync proto.go after merge · 8732edd6
      Kirill Smelkov authored
      8732edd6
    • Kirill Smelkov's avatar
      Merge branch 'master' into t · b0734a4c
      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
        ...
      b0734a4c
    • Kirill Smelkov's avatar
      . · e8f81e9d
      Kirill Smelkov authored
      e8f81e9d
    • Kirill Smelkov's avatar
      . · 1d734b00
      Kirill Smelkov authored
      1d734b00
    • Kirill Smelkov's avatar
      . · 38482c68
      Kirill Smelkov authored
      38482c68
    • Kirill Smelkov's avatar
      . · 9f0738e5
      Kirill Smelkov authored
      9f0738e5
    • Kirill Smelkov's avatar
      . · 0e825b2f
      Kirill Smelkov authored
      0e825b2f
    • Kirill Smelkov's avatar
      . · 098dbccd
      Kirill Smelkov authored
      098dbccd
    • Kirill Smelkov's avatar
      . · af34e00a
      Kirill Smelkov authored
      af34e00a
    • Kirill Smelkov's avatar
      . · 15b948d7
      Kirill Smelkov authored
      15b948d7
  4. 20 Apr, 2017 8 commits
  5. 19 Apr, 2017 11 commits
  6. 18 Apr, 2017 3 commits
    • Julien Muchembled's avatar
      Fix sorting of delayed events · 40bac312
      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]
        ?   ^
      40bac312
    • Kirill Smelkov's avatar
      X fs1: Tune kd so that sizeof(btree data page) is ~= page · 6793678b
      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)
      6793678b
    • Kirill Smelkov's avatar
      X fs1: Speedump index loading a bit · 1d31475a
      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)
      1d31475a