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

MONGO_WRITE_CONFLICT_RETRY_LOOP_BEGIN is a macro

    XMLWordPrintableJSON

Details

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

        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: