1. 01 Apr, 2019 1 commit
  2. 11 Mar, 2019 2 commits
  3. 31 Dec, 2018 4 commits
  4. 05 Dec, 2018 1 commit
  5. 07 Aug, 2018 2 commits
    • Julien Muchembled's avatar
      Use argparse instead of optparse · 9f1e4eef
      Julien Muchembled authored
      Besides the use of another module for option parsing, the main change is that
      there's no more Config class that mixes configuration for different components.
      Application classes now takes a simple 'dict' with parsed values.
      
      The changes in 'neoctl' are somewhat ugly, because command-line options are not
      defined on the command-line class, but this component is likely to disappear
      in the future.
      
      It remains possible to pass options via a configuration file. The code is a bit
      complex but isolated in neo.lib.config
      
      For SSL, the code may be simpler if we change for a single --ssl option that
      takes 3 paths. Not done to not break compatibility. Hence, the hack with
      an extra OptionList class in neo.lib.app
      
      A new functional test tests the 'neomigrate' script, instead of just the
      internal API to migrate data.
      9f1e4eef
    • Julien Muchembled's avatar
      56d0b764
  6. 13 Apr, 2018 1 commit
  7. 13 Dec, 2017 1 commit
  8. 04 Dec, 2017 1 commit
  9. 17 Nov, 2017 3 commits
  10. 07 Nov, 2017 1 commit
  11. 27 Oct, 2017 1 commit
  12. 16 Jun, 2017 1 commit
  13. 12 Jun, 2017 3 commits
  14. 12 May, 2017 1 commit
    • Julien Muchembled's avatar
      Remove packet timeouts · f6eb02b4
      Julien Muchembled authored
      Since it's not worth anymore to keep track of the last connection activity
      (which, btw, ignored TCP ACKs, i.e. timeouts could theorically be triggered
      before all the data were actually sent), the semantics of closeClient has also
      changed. Before this commit, the 1-minute timeout was reset whenever there was
      activity (connection still used as server). Now, it happens exactly 100 seconds
      after the connection is not used anymore as client.
      f6eb02b4
  15. 04 May, 2017 1 commit
  16. 27 Apr, 2017 2 commits
  17. 24 Apr, 2017 2 commits
    • Julien Muchembled's avatar
      Reimplement election (of the primary master) · 23b6a66a
      Julien Muchembled authored
      The election is not a separate process anymore.
      It happens during the RECOVERING phase, and there's no use of timeouts anymore.
      
      Each master node keeps a timestamp of when it started to play the primary role,
      and the node with the smallest timestamp is elected. The election stops when
      the cluster is started: as long as it is operational, the primary master can't
      be deposed.
      
      An election must happen whenever the cluster is not operational anymore, to
      handle the case of a network cut between a primary master and all other nodes:
      then another master node (secondary) takes over and when the initial primary
      master is back, it loses against the new primary master if the cluster is
      already started.
      23b6a66a
    • Julien Muchembled's avatar
      Remove BROKEN node state · 9d7f9795
      Julien Muchembled authored
      9d7f9795
  18. 04 Apr, 2017 1 commit
  19. 31 Mar, 2017 1 commit
  20. 02 Feb, 2017 3 commits
  21. 18 Jan, 2017 1 commit
  22. 17 Jan, 2017 2 commits
  23. 06 Jan, 2017 1 commit
  24. 28 Dec, 2016 3 commits