Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61679

Make the ticking of autofailover when failover is in progress optional

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 7.6.2
    • 7.6.2
    • ns_server
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      MB-59880 made it so that autofailover ticks down when failover is in progress and will help in making autofailover faster for some customers. It is not clear that all customers would appreciate this new feature.
      Some details relavant here,
      Autofailover tick down restarts the grace period when the list of candidates eligible for failover changes. The grace period is 2 ticks.
      Post failover the list if candidates changes if one of the candidates has been failed over by the previous failover, which leads to restart of tick down.
      Example,
      1. autofailover setting is 5 sec, tick time is 1s.
      2. node1 goes down and we decide to failover the node. list if candidates is [node1]
      3. node2 goes down and now the list of candidates is [node1, node2]
      4. failover finishes after 5s, list if candidates changes from [node1, node2] to [node2]
      5. We will failover node2 after 2s.

      So it might appear that the failover took place within 5s when the autofailover timeout was set to 5seconds.
      It is likely that the customer didn't intend for the new behavior even though it is an improvement. We should consider having a switch(diag/eval) to turn it off.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ben.huddleston Ben Huddleston
            Abhijeeth.Nuthan Abhijeeth Nuthan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty