Concurrent PUT requests could observe a half-updated planner between the four sequential global assignments. Added _planner_lock so the rebind is atomic; same lock wraps reset_to_defaults.
Concurrent PUT requests could observe a half-updated planner between the four sequential global assignments. Added _planner_lock so the rebind is atomic; same lock wraps reset_to_defaults.