Comments (2)
Technically there is no fundamental reason why only Phase 1 should not be able to run on a zoned collection, because it only does merges. Problem is with Phase 2, which moves chunks and the script is not aware of zones.
So @dryabtse , if you want to "comment-out" that part for some customer, feel free, but you need to be very careful to stop the script before it reaches to the next Phase.
CC @toto-dev
from workscripts.
@ppolato just pointed out to me that if we have two or more zones which overlap on the same shard, Phase1 will merge the chunks across the zones. This will not constitute a zone violation, because the balancer later on will split them again at the zone boundaries.
from workscripts.
Related Issues (20)
- Make data size calculation threshold in phase 1 configurable HOT 1
- Sort shards before processing them in phase 2
- Recalculate splitVector's maxChunkSize based on surplus
- Cache shard host in phase 3 HOT 1
- Collect phase 3 stats
- Prevent running defrag script in mongodb versions grather than 4.4
- Abort defrag script if collection has associated zones
- Add option to prevent writes to config collections
- Defrag script crash on 4.4 due to unexpected balancer setting format. HOT 1
- Add support for nested shard key
- Add auth support for direct to shard connections
- Send bulk split commands
- The logic for move&merge with right neighbour is missing the is_overweight condition
- [defragmentation script] Handle merges failed due to LockBusy error
- Codec option is breaking the updates on `config.chunks`
- Introduce parameters to throttle phase 1 and 3
- The script should have a hard cap on the number of chunks it tries to merge at a time to avoid hitting 16 MB BSON size limit
- The script breaks if the shard key is using UUID type HOT 3
- Accept user/password as arguments of `make_direct_shard_connection`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workscripts.