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

index error on Couchbase Server caused Sync Gateway failed to start

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • secondary-index
    • None
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      I hit this issue while testing the new mobile requested RBAC roles.

      I have installed Couchbase Server 7.1.0-2021, and Sync Gateway 3.0.0-533, after bringing up Sync Gateway, Sync Gateway is not responding, from Sync Gateway logs, I got:

      2022-01-13T01:57:42.841Z [ERR] Couldn't start Sync Gateway: planning failure | {"statement":"SELECT `travel-sample`._sync.access.foo as val FROM `travel-sample` USE INDEX (sg_access_1) WHERE ANY op in OBJECT_PAIRS(`travel-sample`._sync.access) SATISFIES op.name = 'foo' end LIMIT 1","client_context_id":"502d5280-e340-421c-9f61-fd23f1c1aaa8","errors":[

      Unknown macro: {"Code"}

      ]} – rest.ServerMain() at main.go:26

      With same installation steps and Sync Gateway version, Couchbase Server 7.1.0-1472 works well without any problem.

      Couchbase Server logs and Sync Gateway logs are both collected and attached.

      Attachments

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

        Activity

          People

            eunice.huang Eunice Huang (Inactive)
            eunice.huang Eunice Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty