-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.5.7
-
Component/s: Concurrency
-
None
-
Fully Compatible
-
Sharding 2017-06-19
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.
- related to
-
SERVER-29544 *_WRITE_CONFLICT_RETRY_* uses should be writeConflictRetry calls
- Closed