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

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}}

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created November 27, 2023 at 2:48 PM
Updated December 4, 2023 at 5:12 PM
Resolved December 4, 2023 at 5:12 PM
Instabug