Steve_Duys
(Steve Duys)
February 4, 2015, 6:41pm
1
I'm writing a bash shell script to handle rolling restart for production
cluster..
If the cluster is truly waiting on relocating shards, and I'm checking with curl
-XGET 'http://localhost:9200/_cluster/health?wait_for_relocating_shards=yellow&timeout=50s '
-- does it return a value or just pause for the timeout duration?
One might ask why I didn't just try.. I'm not in a maint window atm
Thx,
-Steve
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0c2720e5-9b07-4113-8aba-32f2bafd3280%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Steve_Duys
(Steve Duys)
February 4, 2015, 6:43pm
2
sorry that curl paste has a typo.. should've been: curl -XGET '
http://localhost:9200/_cluster/health?wait_for_relocating_shards=0&timeout=50s
http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2F_cluster%2Fhealth%3Fwait_for_relocating_shards%3Dyellow%26timeout%3D50s&sa=D&sntz=1&usg=AFQjCNEThGz4S_gocbrmY96879F00YEmSw
'
On Wednesday, February 4, 2015 at 1:41:01 PM UTC-5, Steve Duys wrote:
I'm writing a bash shell script to handle rolling restart for production
cluster..
If the cluster is truly waiting on relocating shards, and I'm checking
with curl -XGET '
http://localhost:9200/_cluster/health?wait_for_relocating_shards=0&timeout=50s
http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2F_cluster%2Fhealth%3Fwait_for_relocating_shards%3Dyellow%26timeout%3D50s&sa=D&sntz=1&usg=AFQjCNEThGz4S_gocbrmY96879F00YEmSw '
-- does it return a value or just pause for the timeout duration?
One might ask why I didn't just try.. I'm not in a maint window atm
Thx,
-Steve
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ef599e46-f94c-45e7-9188-368529c34648%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .