I am experiencing an intermittent issue. If I delete an index and create it again immediately , ES will throws resource_already_exists_exception:
[48258390003131ec/mrHqvHQFSXWktcONr3iigA] ElasticsearchStatusException[Elasticsearch exception [type=resource_already_exists_exception, reason=index [48258390003131ec/mrHqvHQFSXWktcONr3iigA] already exists]]
I have code to check if index exists (by calling client.indices().exists) between the delete and create operation. I do create index only I got false from the call client.indices() . But sometime I still get resource_already_exists_exception.
And I am using version 6.5.4 REST High Level client.
Any thoughts on this will be very appreciated.