1. 10 May, 2017 4 commits
    • Kirill Smelkov's avatar
      Merge branch 'master' into t · f873e151
      Kirill Smelkov authored
      * master: (23 commits)
        Make the identification of the primary master easier with 'neoctl print node'
        client: fix AttributeError when connected to a master that happens to be secondary
        qa: speed up SQlite tests by accessing DBs in unsafe mode (e.g. no sync)
        master: fix identification of unknown masters
        Better logging of connector errors
        qa: relax assertion in testDeadlockAvoidanceBeforeInvolvingAnotherNode
        client: fix possible data corruption after conflict resolutions with replicas
        qa: new --readable-tid runner option
        qa: make Patch work on functions
        qa: new --continue-on-success and --stop-on-success runner options
        doc: add advice about the number of master nodes to set up
        Improvements to --dynamic-master-list
        Make NodeManager.remove stricter
        Clean up neo.lib.protocol
        Use ProtocolError instead of Notify for unexpected answers, and drop Notify
        Rename node states: DOWN -> UNKNOWN, TEMPORARILY_DOWN -> DOWN
        Remove UNKNOWN node state
        Reimplement election (of the primary master)
        Use existing generic way to ignore AcceptIdentification on closed connections
        Remove BROKEN node state
        ...
      f873e151
    • Julien Muchembled's avatar
      Make the identification of the primary master easier with 'neoctl print node' · 09bc404f
      Julien Muchembled authored
      Now, the primary master is the running master with None displayed in the
      last column. Before, it could be the id timestamp of when it was secondary,
      which was obsolete information.
      09bc404f
    • Julien Muchembled's avatar
      client: fix AttributeError when connected to a master that happens to be secondary · 27c27f0b
      Julien Muchembled authored
      This fixes up commit 23b6a66a,
      which reimplements election.
      
        poll raised, retrying
        Traceback (most recent call last):
          ...
          File "neo/client/handlers/master.py", line 41, in notPrimaryMaster
            super(PrimaryNotificationsHandler, self).notPrimaryMaster(*args)
          File "neo/lib/handler.py", line 157, in notPrimaryMaster
            assert primary != self.app.server
          File "neo/client/app.py", line 109, in __getattr__
            return self.__getattribute__(attr)
        AttributeError: 'Application' object has no attribute 'server'
      27c27f0b
    • Kirill Smelkov's avatar
      . · 421fda44
      Kirill Smelkov authored
      421fda44
  2. 05 May, 2017 2 commits
  3. 04 May, 2017 6 commits
  4. 03 May, 2017 6 commits
  5. 02 May, 2017 6 commits
  6. 28 Apr, 2017 16 commits