Chad has uploaded a new change for review.
https://gerrit.wikimedia.org/r/191356
Change subject: es-tool: Also show unassigned shards during restart
......................................................................
es-tool: Also show unassigned shards during restart
Unassigned + initializing is your main idea of how long you've got
left to go.
Change-Id: I44a58ae36bc3db7bdc30ffac5139bb18f00992cd
---
M modules/elasticsearch/files/es-tool
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/56/191356/1
diff --git a/modules/elasticsearch/files/es-tool
b/modules/elasticsearch/files/es-tool
index 8a999a0..e5e27cd 100755
--- a/modules/elasticsearch/files/es-tool
+++ b/modules/elasticsearch/files/es-tool
@@ -161,7 +161,8 @@
while cluster_health() != "green":
print '\n'.join(cluster_status(columns=('status',
'initializing_shards',
- 'relocating_shards')))
+ 'relocating_shards',
+ 'unassigned_shards')))
time.sleep(60)
print "ok"
--
To view, visit https://gerrit.wikimedia.org/r/191356
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I44a58ae36bc3db7bdc30ffac5139bb18f00992cd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Chad <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits