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

5.5.5 BP [MB-34291] - topology change detector should not delete replication spec when target bucket cannot be found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.5
    • 5.5.0
    • XDCR
    • Untriaged
    • Unknown

    Description

      Topology change detector, when detecting that target bucket no long exists, would delete replication spec right away. This could cause replication spec to be incorrectly deleted in the case where a target node is being failed over and has stopped serving the bucket.

      One way to fix this is not have Topology change detector delete repl spec in this scenario, and instead defer repl spec deletion to replication spec validation. Repl spec validation would delete repl spec only when target bucket cannot be found in four consecutive checks, which most likely is performed on different target nodes. This mechanism is much less error prone to false positives.

      Attachments

        Issue Links

          Activity

            People

              neil.huang Neil Huang
              yu Yu Sui (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty