1. 24 Feb, 2017 2 commits
    • Julien Muchembled's avatar
      storage: fix an AssertionError in internal replication · 560e4fb1
      Julien Muchembled authored
      Traceback (most recent call last):
        ...
        File "neo/storage/handlers/storage.py", line 111, in answerFetchObjects
          self.app.replicator.finish()
        File "neo/storage/replicator.py", line 370, in finish
          self._nextPartition()
        File "neo/storage/replicator.py", line 279, in _nextPartition
          assert app.pt.getCell(offset, app.uuid).isOutOfDate()
      AssertionError
      
      The scenario is:
      1. partition A: start of replication, with unfinished transactions
      2. partition A: all unfinished transactions are finished
      3. partition A: end of replication with ReplicationDone notification
      4. replication of partition B
      5. partition A: AssertionError when starting replication
      
      The bug is that in 3, the partition A is partially replicated and the storage
      node must not notify the master.
      560e4fb1
    • Julien Muchembled's avatar
  2. 23 Feb, 2017 1 commit
  3. 21 Feb, 2017 6 commits
  4. 14 Feb, 2017 8 commits
  5. 02 Feb, 2017 10 commits
  6. 26 Jan, 2017 1 commit
  7. 19 Jan, 2017 2 commits
  8. 18 Jan, 2017 4 commits
  9. 17 Jan, 2017 4 commits
  10. 16 Jan, 2017 2 commits
    • Julien Muchembled's avatar
      qa: tweak condition detecting endless tic · bdf6389d
      Julien Muchembled authored
      100 is too small for tests like testBasicStore (MySQL) and testDelayedStore.
      bdf6389d
    • Julien Muchembled's avatar
      Increase connector buffer size for receiving · 95fdc01d
      Julien Muchembled authored
      When receiving 1 byte, benchmarking shows no visible difference with values
      between 4096 and 65536 for the buffer size. With higher values, it becomes
      significantly slower.
      
      On the other side, a 64k buffer is faster with bigger packets.
      Time to run testBasicStore with MySQL:
      
                  4096        65536
          real    0m51.115s   0m21.592s
          user    0m41.857s   0m13.540s
          sys     0m8.700s    0m2.687s
      95fdc01d