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

Deduplicate StaleConfig handling from multi-write exec stages into handlePlanStageYield

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing

      Fold all instances of try/catch blocks cathing StaleConfig exceptions off handlePlanStageYield (e.g. this one) into a dedicated catch block in handlePlanStageYield. At the time of writing, this code is duplicated in:

      • src/mongo/db/exec/batched_delete_stage.cpp
      • src/mongo/db/exec/delete_stage.cpp
      • src/mongo/db/exec/timeseries_modify.cpp
      • src/mongo/db/exec/update_stage.cpp
      • src/mongo/db/query/plan_executor_impl.h

            Assignee:
            Unassigned Unassigned
            Reporter:
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: