• Julien Muchembled's avatar
    admin: use 'boostrap' flag to discard partition changes received too early · a54aada5
    Julien Muchembled authored
    This should fix the following random failure:
    
    Traceback (most recent call last):
      File "neo/tests/functional/__init__.py", line 140, in start
        execfile(command, {"__name__": "__main__"})
      File "./neoadmin", line 22, in <module>
        main()
      File "neo/scripts/neoadmin.py", line 66, in main
        app.run()
      File "neo/admin/app.py", line 103, in run
        self.em.poll(1)
      File "neo/lib/event.py", line 100, in poll
        to_process.process()
      File "neo/lib/connection.py", line 532, in process
        self._handlers.handle(self, packet)
      File "neo/lib/connection.py", line 158, in handle
        self._handle(connection, packet)
      File "neo/lib/connection.py", line 174, in _handle
        handler.packetReceived(connection, packet)
      File "neo/lib/handler.py", line 93, in packetReceived
        self.dispatch(conn, packet)
      File "neo/admin/handler.py", line 142, in dispatch
        super(MasterEventHandler, self).dispatch(conn, packet)
      File "neo/lib/handler.py", line 57, in dispatch
        method(conn, *args)
      File "neo/admin/handler.py", line 156, in sendPartitionTable
        self.app.pt.load(ptid, row_list, self.app.nm)
      File "neo/lib/pt.py", line 219, in load
        assert node is not None
    AssertionError
    
    git-svn-id: https://svn.erp5.org/repos/neo/trunk@2680 71dcc9de-d417-0410-9af5-da40c76e7ee4
    a54aada5
app.py 6.21 KB