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

Backport 2.7.4 CBG-812 - Running compact when UseViews=true causes an infinite loop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.4
    • Component/s: SyncGateway
    • Security Level: Public
    • Labels:
      None
    • Sprint:
      CBG Sprint 58
    • 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

            ben.brooks Ben Brooks created issue -
            ben.brooks Ben Brooks made changes -
            Field Original Value New Value
            Link This issue Clones CBG-812 [ CBG-812 ]
            ben.brooks Ben Brooks made changes -
            Fix Version/s Hydrogen [ 16179 ]
            Fix Version/s 2.7.4 [ 16830 ]
            ben.brooks Ben Brooks made changes -
            Link This issue is a backport of CBG-812 [ CBG-812 ]
            ben.brooks Ben Brooks made changes -
            Sprint CBG Sprint 58 [ 1243 ]
            ben.brooks Ben Brooks made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ben.brooks Ben Brooks made changes -
            Status In Progress [ 3 ] In Review [ 10107 ]
            Automated transition triggered when Adam Fraser merged pull request #4796 in GitHub -
            Resolution Fixed [ 1 ]
            Status In Review [ 10107 ] Resolved [ 5 ]
            daniel.petersen Daniel Petersen made changes -
            Link This issue blocks CBG-883 [ CBG-883 ]

              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