Srikanth Yadake
Srikanth Yadake

Reputation: 573

Increase master timeout for create index elastic search

I'm getting timeout exceptions like below during index creation.

Exception: System.Exception: Error creating index '[metadata]-[content].[292]-[]-[1]': Status: 503, Type: process_cluster_event_timeout_exception, Error: Type: process_cluster_event_timeout_exception Reason: "failed to process cluster event (create-index [[metadata]-[content].[292]-[]-[1]], cause [api]) within 30s"

I need to know if increasing master timeout will help? if so how to do that?

Upvotes: 2

Views: 3721

Answers (1)

Assael Azran
Assael Azran

Reputation: 2993

Try to create your index using PUT my_index?master_timeout=60s

Its default is set to 30s

I hope this query parameter is relevant for your version.

From Here

Upvotes: 3

Related Questions