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 [email protected]. 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.
