Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-812

Running compact when UseViews=true causes an infinite loop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0
    • Component/s: SyncGateway
    • Security Level: Public
    • Labels:
      None
    • Sprint:
      CBG Sprint 45
    • Story Points:
      1

      Description

      The view query we're using for batched tombstone compaction is using "stale":"ok", so whilst we're paging through the view and removing stuff, we're trying to purge the same doc IDs over and over and going into an infinite loop.

        Attachments

          Issue Links

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

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.8.0-148 contains sync_gateway commit 759cf17 with commit message:
            CBG-812 - Fixes infinite loop caused by stale view query when running compact (#4544)

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.8.0-148 contains sync_gateway commit 759cf17 with commit message: CBG-812 - Fixes infinite loop caused by stale view query when running compact (#4544)
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.7.4-7 contains sync_gateway commit 4f44206 with commit message:
            Backport CBG-812 to 2.7.4 - Fixes infinite loop caused by stale view query when running compact (#4544) (#4796)

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.7.4-7 contains sync_gateway commit 4f44206 with commit message: Backport CBG-812 to 2.7.4 - Fixes infinite loop caused by stale view query when running compact (#4544) (#4796)

              People

              Assignee:
              ben.brooks Ben Brooks
              Reporter:
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty