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

Handling `not_found` during notify update listener

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.0
    • None
    • view-engine
    • None
    • Untriaged
    • Unknown

    Description

      When the compaction finishes, it checks if it caught up with the updater, or if there are changes that need to be applied to the compacted file as well. It is done with `couch_set_view_util:missing_changes_count/2`, with passing in the seq numbers of the compacted view and the current group. If the group information of the updater didn't receive any update yet, it won't show up as being different from the compacted file. Hence the compactor will stop the updater, switch over to the compacted file and restart the updater. If at this point rebalance stopped, if compacted header don't have this partid(which is monitored during movement of vbs and now undoing), call will return not_found. This not_found is not handled during the filter of vbs and compaction won't finish.

      Attachments

        Activity

          People

            ankit.prabhu Ankit Prabhu
            ankit.prabhu Ankit Prabhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty