Filippo Giunchedi has submitted this change and it was merged.

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(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: I44a58ae36bc3db7bdc30ffac5139bb18f00992cd
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to