-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
ALL
-
CAR Team 2026-05-11
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
slack
- https://mongodb.slack.com/archives/C072LJP3EQ3/p1776695339572599
- https://mongodb.slack.com/archives/C02SQPJHQ85/p1776696909840279
Â
Â
Â
Potential hard blocker for single-shard disk write blocking.
Context: * Mongotune disk write blocking command setUserWriteBlockMode ** relies on the reason field as a guardrail to avoid unblocking or getting unblocked by other processes that issue disk write blocking such as mongosync (https://www.mongodb.com/docs/mongosync/current/reference/mongosync-behavior/)
- Sharded clusters do not respect this field (https://github.com/10gen/docs-mongodb-internal/blob/main/content/manual/upcoming/source/reference/command/setUserWriteBlockMode.txt#L32).
Impact: # Scenario: Mongosync clears a Mongotune DWB block
-
- Disk utilization is high.
- Mongotune blocks.
- Mongosync starts cluster migration and blocks.
- Mongosync completes cluster migration and unblocks.
- Node disk becomes overloaded and crashes (existing behavior).
- Scenario: Mongotune clears a Mongosync block
- Mongosync starts cluster migration and blocks.
- Disk utilization is high.
- Mongotune blocks.
- Auto-scaling activates and disk size increases.
- Mongotune unblocks.
- The node may begin accepting writes that mongosync assumes are blocked, risking migration correctness (unexpected writes to the destination outside the supported cutover flow).
Questions: # Could this cause data corruption?
- If this event were to occur is it recoverable?
- Is this worth the availability improvement?
- Can we mitigate these scenarios by documenting the risk of cluster migration if disk utilization is already high?