Actions
Feature #6611
closed[Data Manager] Act on pull lists for underreplicated blocks
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Keep
Target version:
-
Story points:
2.0
Description
By design, Data Manager fixed underreplicated blocks by sending "pull lists" to the keepstore servers.
Currently, Data Manager computes lists of underreplicated blocks, but doesn't send the pull lists.
Before this can be deployed:- data manager must send its pull lists to keep servers
- data manager must have at least one comprehensive integration test covering a miniature version of normal operation:
- bring up api, keepstore, and keepproxy services
- store some collections
- delete some blocks (using keepstore DELETE method with a suitable token) so the desired replication level is no longer met for some collections
- run data manager
- wait for all keepstores to finish working their trash and pull lists (by getting each keepstore's /status.json until the queues are empty and workers are idle)
- make sure all collections' blocks are back up to their desired replication level
- run data manager again
- wait for all keepstores to finish working their trash and pull lists
- make sure no more (excess) replicas have been made
Updated by Peter Amstutz over 9 years ago
Note: there is already a preliminary 6611-send-pull-list branch that I wrote when I wrote at the same time as the "send trash list" code.
Updated by Peter Amstutz over 8 years ago
- Target version changed from Arvados Future Sprints to 2016-05-11 sprint
Updated by Tom Clegg over 8 years ago
Fixing underreplicated blocks is a special case of rebalancing: "rebalance only the blocks that have less than desired replication."
If- block B has replication A ("actual"), and
- block B should have replication D ("desired"), and
- A < D, and
- keep service K is one of the first D services in the probe order for block A, and
- block B is not in service K's index
- pick some service K2 that does have block B in its index
- add K2/B to the pull list for K.
Updated by Radhika Chippada over 8 years ago
- Assigned To set to Radhika Chippada
Updated by Brett Smith over 8 years ago
- Target version changed from 2016-05-11 sprint to Arvados Future Sprints
Updated by Radhika Chippada over 8 years ago
- Assigned To deleted (
Radhika Chippada)
Updated by Tom Morris about 8 years ago
- Target version deleted (
Arvados Future Sprints)
Actions