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

ns_server is reusing tap names unsafely which causes data loss or inconsistency in replication when a node is removed and added back

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.8.1
    • 1.7.2, 1.8.0
    • ns_server
    • Security Level: Public

    Description

      screenshot attached

      NOTE: we're converting this to main 'named tap issues' ticket.

      So what's not safe about reusing named taps as of 1.8.0?

      If something happened to destination node after tap was disconnected. And if that something affected data for vbuckets replicated as part of named tap, then subsequent reuse of named tap will incorrectly assume that we can continue sending stuff instead of re-negotiating which data needs to be resent.

      Attachments

        For Gerrit Dashboard: MB-4366
        # Subject Branch Project Status CR V

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            farshid Farshid Ghods (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty