Operational Defect Database

BugZero found this defect 285 days ago.

MongoDB | 2412231

Abstract out similar code between data consistency/extra index keys check and make error handling consistent

Last update date:

3/15/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

We should abstract out similar code between data consistency/extra index keys check, including error handling (for things like checking for stepdown, ErrorCodes::LockTimeout, adding handling for retryable errors in extra index keyds check) As part of this we should refactor the code to only check for the IndexNotFound/NamespaceNotFound/CommandNotSupportedOnView errors in one place/propogate it all up to one location, since right now in the extra index keys path we check for IndexNotFound in many locations. We should also make sure that all the IndexNotFound checks are correct (in dbcheck_extra_index_keys.js)

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Open

Learn More

Search:

...