在ElasticSearch中等待多个条件:

时间:2018-10-24 14:50:24

标签: elasticsearch

我们可以使用以下端点来等待某些事件:

GET /_cluster/health?wait_for_status=yellow&timeout=50s

是否可以等待两个条件,例如
GET /_cluster/health?wait_for_status=yellow&wait_for_nodes=10&timeout=50s

1 个答案:

答案 0 :(得分:0)

是的,它可以在我的集群上工作。

.ui-growl-message {
    padding: 0px 0 5px 20px;
    width: 400px;
    float: left;
}
相关问题