Disabling sharding fails on a running cluster

Description

After patching the cluster with `spec.sharding.enabled: false`, config server and mongos objects are deleted but PBM still tries to connect to config servers because it still sees the cluster as sharded.

Environment

None

Smart Checklist

Activity

Show:

Slava Sarzhan December 3, 2024 at 9:12 AM

The issue was fixed.

ege.gunes August 7, 2024 at 8:11 AM

If you want to disable sharding in a running cluster, you need to pause cluster first. As we found out in , PBM can’t handle enabling/disabling of sharding in a rolling fashion.

Done

Details

Assignee

Reporter

Needs QA

Yes

Needs Doc

Yes

Story Points

Sprint

Fix versions

Priority

Smart Checklist

Created April 1, 2022 at 7:16 AM
Updated January 21, 2025 at 7:36 PM
Resolved January 17, 2025 at 11:13 AM