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

enableCrossVectorVersioning reports unable to retrieve max_cas for all vbuckets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 7.6.2
    • 7.6.2
    • ns_server
    • None
    • docker image ghcr.io/cb-vanilla/server:7.6.1-342
    • Untriaged
    • 0
    • Unknown

    Description

      Sync Gateway test framework hits an error of Unable to retrieve max_cas for all vbuckets.

      The creation of a bucket is done via gocb API using CreateBucket API. After creating a bucket, we'll make a REST call to /pools/default/buckets/bucketName -d enableCrossVectorVersioning=true.

      Occasionally, this REST call will return

      status code, 503, output: Unable to retrieve max_cas for all vbuckets
      

      This occurs quite regularly in our test framework, which:

      • deletes three buckets from a previous run
      • create three bucket buckets
        • CreateBucket succeeds
        • enableCrossVectorVersioning <-- step that fails
      • do kv ops on bucket(s)
      • sometimes flush bucket(s) but not required

      Usually the first run will succeed and subsequent runs through these steps can fail. If you wait, the couchbase server will recover and you can create a new bucket and enableCrossVectorVersioning on this system.

      Attachments

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

        Activity

          People

            tor.colvin Tor Colvin
            tor.colvin Tor Colvin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change

                PagerDuty