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

Concurrent/Schedule index creation is failing with "GSI index id 1a235de568fd78c3 not found"

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      I'm creating close to large no.s (~1000) of concurrent indexes. Basically I'm running 10 index creation query in parallel every 5 seconds till index count reaches 1000. In some iterations query fails with following error - 

       

      AssertionError: CBQError: host 10.112.190.101: ERROR:{'requestID': '3441defb-d8c6-4c40-92fe-77d90ec3bb8e', 'signature': None, 'results': [], 'errors': [{'code': 12016, 'msg': 'Index Not Found - cause: GSI index id 1a235de568fd78c3 not found.', 'retry': True}], 'status': 'errors', 'metrics': {'elapsedTime': '263.496234ms', 'executionTime': '68.923464ms', 'resultCount': 0, 'resultSize': 0, 'serviceLoad': 75, 'errorCount': 1}}
      

      I've attached cbcollect_info logs.

       

      Steps to reproduce.

      1. create 1 node cluster with KV-n1ql-query service and 1B-1S-1C
      2. load some 10k docs
      3. Create 10 indexes in parallel with 5 sec pause between each iteration till total no. of indexes are equal to 1000.

       

       

       

      Attachments

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

        Activity

          People

            abhinandan.singla Abhinandan Singla (Inactive)
            hemant.rajput Hemant Rajput
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty