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

issues with Index metadata management between cluster nodes.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.1.2, 4.5.0
    • 4.1.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      On a multi-node cluster, two cbq shell sessions connected to distinct nodes have a window where index metadata is not fully synchronized.

      To repro the problem:

      Set up a 4.1.0 cluster with at least 2 nodes running the Query service. Start a cbq session on two different Query nodes. In cbq on one of the query nodes perform a CREATE INDEX command, then on the other attempt a command that references that index (e.g. a BUILD INDEX or a DROP INDEX). This will fail with "GSI index <INDEX_NAME> not found." (Code 5000). On the same node, run SELECT * FROM system:indexes - this refreshes the list of indexes, and the BUILD or DROP command will then run successfully.

      Attachments

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

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            keshav Keshav Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty