-
Type: Improvement
-
Resolution: Duplicate
-
Priority: 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
- duplicates
-
SERVER-91771 Reduce code duplication for StaleConfig handling within update and delete related PlanStages
- Backlog