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

Handle local errors executing retryable timeseries updates in bulkWrite

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2023-09-18, Repl 2023-10-02, Repl 2023-10-16

      Currently our logic for retryable timeseries updates assumes we get a response from a shard and doesn't know how to handle local errors: https://github.com/mongodb/mongo/blob/cf78d87ee503ecb877d261c9138d786b0b3b399f/src/mongo/s/write_ops/bulk_write_exec.cpp#L384-L385

      The logical change should be simple: call through to the new 
      BulkWriteOp::processLocalChildBatchError method added in SERVER-80481 in case of a local error. 
      But we should add tests along with that to confirm it works as intended. 

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: