summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthew Oliver <matt@oliver.net.au>2021-02-24 15:06:08 +1100
committerAlistair Coles <alistairncoles@gmail.com>2021-02-26 15:56:30 +0000
commit1de98348167f9923710d1a6d634ef6d8008eea5d (patch)
tree84f797f4771bfa55e0d8f9fea8e623a61150d94a /tools
parentb1309c95e5d1219a9241bdf1243d9dbdd17cb2d0 (diff)
downloadswift-1de98348167f9923710d1a6d634ef6d8008eea5d.tar.gz
Report final in_progress when sharding is complete
On every sharder cycle up update in progress recon stats for each sharding container. However, we tend to not run it one final time once sharding is complete because the DB state is changed to SHARDED and therefore the in_progress stats never get their final update. For those collecting this data to monitor, this makes sharding/cleaving shards never complete. This patch, adds a new option `recon_shared_timeout` which will now allow sharded containers to be processed by `_record_sharding_progress()` after they've finished sharding for an amount of time. Change-Id: I5fa39d41f9cd3b211e45d2012fd709f4135f595e
Diffstat (limited to 'tools')
-rw-r--r--tools/playbooks/common/install_dependencies.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/playbooks/common/install_dependencies.yaml b/tools/playbooks/common/install_dependencies.yaml
index 893b7d03b..687607fad 100644
--- a/tools/playbooks/common/install_dependencies.yaml
+++ b/tools/playbooks/common/install_dependencies.yaml
@@ -40,3 +40,4 @@
- nose
- pyeclib
- python-swiftclient
+ - mock