• Julien Muchembled's avatar
    client: bug found, add log to collect more information · a1082cbc
    Julien Muchembled authored
    INFO Z2 Log files reopened successfully
    INFO SignalHandler Caught signal SIGTERM
    INFO Z2 Shutting down fast
    INFO ZServer closing HTTP to new connections
    ERROR ZODB.Connection Couldn't load state for BTrees.LOBTree.LOBucket 0xc12e29
    Traceback (most recent call last):
      File "ZODB/Connection.py", line 909, in setstate
        self._setstate(obj, oid)
      File "ZODB/Connection.py", line 953, in _setstate
        p, serial = self._storage.load(oid, '')
      File "neo/client/Storage.py", line 81, in load
        return self.app.load(oid)[:2]
      File "neo/client/app.py", line 355, in load
        data, tid, next_tid, _ = self._loadFromStorage(oid, tid, before_tid)
      File "neo/client/app.py", line 387, in _loadFromStorage
        askStorage)
      File "neo/client/app.py", line 297, in _askStorageForRead
        self.sync()
      File "neo/client/app.py", line 898, in sync
        self._askPrimary(Packets.Ping())
      File "neo/client/app.py", line 163, in _askPrimary
        return self._ask(self._getMasterConnection(), packet,
      File "neo/client/app.py", line 177, in _getMasterConnection
        result = self.master_conn = self._connectToPrimaryNode()
      File "neo/client/app.py", line 202, in _connectToPrimaryNode
        index = (index + 1) % len(master_list)
    ZeroDivisionError: integer division or modulo by zero
    a1082cbc
app.py 39.8 KB