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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding 2022-12-12, Sharding NYC 2022-12-26
    • 129
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add

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

            Assignee:
            Sanika Phanse (Inactive)
            Reporter:
            Sanika Phanse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: