getAllIndexes does not return all indexes

Description

It appears that 7.0 has changed the structure of system:indexes which causes us to miss some indexes when filtering by the bucket name.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Brett Lawson September 15, 2021 at 12:11 AM

We use keyspace_id to filter indexes, but collections changes how this looks in the index definition:

with the following index:

The actual index definitions looks like this (note that the structure seems to have changed):

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created September 15, 2021 at 12:09 AM
Updated September 16, 2021 at 4:54 PM
Resolved September 16, 2021 at 4:54 PM
Instabug