Operational Defect Database

BugZero found this defect 44 days ago.

MongoDB | 2633345

Do not increment batch stats for WriteWithoutShardKey of batch size 1 if write already completed

Last update date:

4/5/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

This https://github.com/10gen/mongo/blob/7d2cf513f9195a724a4c8e6b9982616b44b5dc18/src/mongo/s/write_ops/batch_write_op.cpp#L795-L799 is not complete to stop processing the response, we would like to also not increment batch stats. Also re-add the retryable_update_one_by_id_chunk_migration.js we inadvertently removed.

Top User Comments

xgen-internal-githook commented on Fri, 5 Apr 2024 22:05:42 +0000: Author: {'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'} Message: SERVER-89018: Do not inc batch stats for a single already completed WWSKWID (#20823) GitOrigin-RevId: ec260258e9ad5cb37c2b4c530dd82277a66633da Branch: master https://github.com/mongodb/mongo/commit/9faf7cb1ec16a56f5f44db3f453abcfdd98214f2

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Code Review

Learn More

Search:

...