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

Return early if empty response detected from _clusterQueryWithoutShardKey in findAndModify two phase protocol

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding 2022-12-12, Sharding NYC 2022-12-26
    • 129

    Description

      Add

      if (!queryResponse.getTargetDoc()) {
          // construct findAndModify response for no find match
          return SemiFuture<void>::makeReady();
      }
      

      Attachments

        Activity

          People

            sanika.phanse@mongodb.com Sanika Phanse (Inactive)
            sanika.phanse@mongodb.com Sanika Phanse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: