Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1441

Add error handling for "index does not exist" query error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.1
    • None
    • None
    • None

    Description

      As seen on CI, and reported by other SDK owners e.g. here, query server can return an error we do not currently parse:

      com.couchbase.client.core.error.InternalServerFailureException: Internal Couchbase Server error {"completed":true,"coreId":"0x2985ee7200000001","errors":[{"code":5000,"message":"GSI Drop() - cause: Index does not exist.","retry":false}],"httpStatus":500,"idempotent":false,"lastDispatchedFrom":"172.28.0.5:40998","lastDispatchedTo":"172.23.111.129:8093","requestId":76725,"requestType":"QueryRequest","retried":0,"service":{"operationId":"null","statement":"DROP INDEX `b500edf0-a7cf-48dd-8d20-b0d95ef509ad` ON `default`.`scope-management_query_collection_CollectionQueryIndexManagerTest`.`collection1`","type":"query"},"timeoutMs":75000,"timings":{"dispatchMicros":27742,"totalDispatchMicros":27742,"totalMicros":30280}}
      

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty