Operational Defect Database

BugZero found this defect 25 days ago.

MongoDB | 2652877

Robustify awaitdata_getmore_cmd.js to filter on specific ns when querying the oplog

Last update date:

4/24/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

awaitdata_getmore_cmd.js can be a flaky test. It issues getMore with awaitData to local.oplog.rs and expects to eventually get an empty batch after time out. However, when run in parallel with other tests, the other tests can perform operations that are appended to the oplog. If we cross maxTimeMS, and we still have not found an empty batch, this test will time out. We should instead issue the original find and subsequent getMores to the oplog with a filter on a specific namespace.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...