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

Index not found - cause: Stale metadata

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • 4.0.0-3168
    • Untriaged
    • Unknown

    Description

      Test:
      ./testrunner -i /tmp/tuqvm2.ini doc-per-day=6,standard_buckets=1,skip_build_tuq=True,cbq_version=sherlock,get-cbcollect-info=True,services_init=n1ql:kv:index,index_type=GSI -t tuqquery.tuq_index.QueriesViewsTests.test_multiple_indexes_query_attr
      Create index:
      CREATE INDEX auto_ind_join_day ON default(join_day)
      When run query:
      SELECT name, join_day, join_mo FROM default WHERE join_day>2 AND join_mo>3
      Error appears:
      {u'status': u'errors', u'errors': [

      {u'msg': u'Index not found - cause: Stale metadata', u'code': 5000}

      ], u'results': [], u'metrics':

      {u'elapsedTime': u'641.351365ms', u'executionTime': u'641.228263ms', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}

      , u'requestID': u'1e7f6bb4-40c5-4a2a-bff4-16aadfd6c99a', u'signature': {u'join_mo': u'json', u'name': u'json', u'join_day': u'json'}}
      Logs will be attached.

      Attachments

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

        Activity

          People

            prataprc Pratap Chakravarthy (Inactive)
            iryna iryna
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty