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

Inconsistent handling of operation time in mongod error response

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.6.3, 3.7.1
    • None
    • None
    • ALL

    Description

      There is a logic in execCommandDatabase to differentiate between whether there is a valid operationTime:
      https://github.com/mongodb/mongo/blob/62ca1bcdd3dcc634a6fa91204b0f0941eb76399e/src/mongo/db/service_entry_point_mongod.cpp#L723

      However, the logic does not exist in runCommands:
      https://github.com/mongodb/mongo/blob/62ca1bcdd3dcc634a6fa91204b0f0941eb76399e/src/mongo/db/service_entry_point_mongod.cpp#L815

      This is inconsistent as runCommands calls execCommandDatabase and should therefore have the same logic.

      Attachments

        Issue Links

          Activity

            People

              cheahuychou.mao@mongodb.com Cheahuychou Mao
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: