Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29233

MONGO_WRITE_CONFLICT_RETRY_LOOP_BEGIN is a macro

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.5.7
    • 3.5.9
    • Concurrency
    • 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

          Activity

            People

              nathan.myers Nathan Myers
              nathan.myers Nathan Myers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: