Tagged articles
2 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 29, 2019 · Databases

Analysis and Resolution of MongoDB Sharding Balancer Chunk Migration Failures in Version 3.4.x

A MongoDB client reported severe chunk imbalance and nightly balancer migration failures in a sharded cluster, which were traced to a known bug causing conflicting operations, and the issue was resolved by disabling the balancer for the affected collection and upgrading the cluster to version 3.4.11 or later.

BalancerChunk MigrationDatabase Bug
0 likes · 6 min read
Analysis and Resolution of MongoDB Sharding Balancer Chunk Migration Failures in Version 3.4.x
ITPUB
ITPUB
Sep 26, 2016 · Databases

When and How MongoDB Balancer Migrates Chunks in a Sharded Cluster

This article explains the three scenarios that trigger MongoDB chunk migration, describes the Balancer's lock‑based operation, and walks through the six detailed steps—including tag‑based splits, draining shard handling, and load‑balancing thresholds—that ensure data is evenly distributed across shards.

BalancerChunk MigrationMongoDB
0 likes · 8 min read
When and How MongoDB Balancer Migrates Chunks in a Sharded Cluster