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

Missing partition cleanup when setting a replica partition on transfer to the passive state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0-beta
    • None
    • view-engine
    • Security Level: Public
    • None
    • 1

    Description

      Currently if a replica partition transitions to the active state, a process that transfer the partition's data from the replica to main index is started.

      If before that process finishes someone asks to transition the partition to the passive state, the proper actions happen on the main index, but nothing is done on the replica index, leaving the partition's data in the replica index.

      This doesn't seem to be harmful however, it only consumes unnecessary disk space and IO (due to automatic replica index updates).

      Attachments

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

        Activity

          People

            FilipeManana Filipe Manana (Inactive)
            FilipeManana Filipe Manana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty