The namespace-partitioned cache flushing was not being used correctly, which could leave standby nodes with stale information. Fixes #8284