Deduplicate StaleConfig handling from multi-write exec stages into handlePlanStageYield

XMLWordPrintableJSON

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

      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
            Reporter:
            Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: