Operational Defect Database

BugZero found this defect 37 days ago.

MongoDB | 2640844

Invalid number of documents deleted when using batched deletes in 6.0

Last update date:

4/12/2024

Affected products:

MongoDB Server

Affected releases:

6.0.16

Fixed releases:

No fixed releases provided.

Description:

Info

With the backport to 6.0 of SERVER-79049 we had to disable the jstests/sharding/swallow_unnecessary_uuid_mismatch_error.js test in the sharding_batched_deletes_passthrough suite. This is because instead of returning the expected number of documents deleted to be 3 it instead returns 4. Note that it doesn't actually affect the end result. A simple scan of the collection afterwards returns the full collection only containing 3 documents less. This is instead a problem of misleading results. It's also not happening on 7.0+.

Top User Comments


Steps to Reproduce

Execute jstests/sharding/swallow_unnecessary_uuid_mismatch_error.js with the sharding_batched_deletes_passthrough suite

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...