• Julien Muchembled's avatar
    storage: relax assertion · 21a61977
    Julien Muchembled authored
    Nothing wrong actually happens.
    
    Traceback (most recent call last):
      File "neo/scripts/neostorage.py", line 32, in main
        app.run()
      File "neo/storage/app.py", line 194, in run
        self._run()
      File "neo/storage/app.py", line 225, in _run
        self.doOperation()
      File "neo/storage/app.py", line 310, in doOperation
        poll()
      File "neo/storage/app.py", line 134, in _poll
        self.em.poll(1)
      File "neo/lib/event.py", line 168, in poll
        self._poll(0)
      File "neo/lib/event.py", line 220, in _poll
        if conn.readable():
      File "neo/lib/connection.py", line 483, in readable
        self._closure()
      File "neo/lib/connection.py", line 541, in _closure
        self.close()
      File "neo/lib/connection.py", line 533, in close
        handler.connectionClosed(self)
      File "neo/storage/handlers/client.py", line 46, in connectionClosed
        app.tm.abortFor(conn.getUUID())
      File "neo/storage/transactions.py", line 594, in abortFor
        self.abort(ttid)
      File "neo/storage/transactions.py", line 570, in abort
        self._replicated.get(self.getPartition(oid))), x
    AssertionError: ('\x00\x00\x00\x00\x00\x01a\xe5', '\x03\xcaZ\x04\x14o\x8e\xbb', '\x03\xcaZ\x04\x0eX{\xbb', {1: None, 21: '\x03\xcaZ\x04\x11\xc6\x94\xf6'}, set([]))
    21a61977
transactions.py 26.5 KB