Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
3.5.7
-
None
-
Fully Compatible
-
Sharding 2017-06-19
Description
db/concurrency/write_conflict_exception.h defines macros MONGO_WRITE_CONFLICT_RETRY_LOOP_BEGIN and MONGO_WRITE_CONFLICT_RETRY_LOOP_END that could much more cleanly, safely, and maintainably be a trivial function template.
It would be better to deprecate these macros and define such a function template in that header.
Attachments
Issue Links
- related to
-
SERVER-29544 *_WRITE_CONFLICT_RETRY_* uses should be writeConflictRetry calls
-
- Closed
-