You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should catch "index already exists" exceptions and log them. At startup, if there's more than one worker, there can be a "check then write" race condition on creating a new index. This causes the exception just mentioned.
The text was updated successfully, but these errors were encountered:
at org.opensearch.client.IndicesClient.create(IndicesClient.java:159) ~[stormjar.jar:?]
at org.apache.stormcrawler.opensearch.IndexCreation.createIndex(IndexCreation.java:101) ~[stormjar.jar:?]
at org.apache.stormcrawler.opensearch.IndexCreation.checkOrCreateIndex(IndexCreation.java:43) ~[stormjar.jar:?]
at org.apache.stormcrawler.opensearch.persistence.StatusUpdaterBolt.prepare(StatusUpdaterBolt.java:194) ~[stormjar.jar:?]
at org.apache.storm.executor.bolt.BoltExecutor.init(BoltExecutor.java:128) ~[storm-client-2.7.0.jar:2.7.0]
at org.apache.storm.executor.bolt.BoltExecutor.call(BoltExecutor.java:138) ~[storm-client-2.7.0.jar:2.7.0]
at org.apache.storm.executor.bolt.BoltExecutor.call(BoltExecutor.java:54) ~[storm-client-2.7.0.jar:2.7.0]
#1476)
* #1474 -- catch OpenSearchExceptions to prevent percolation of RuntimeExceptions, including check-then-update race condition in creating an index.
We should catch "index already exists" exceptions and log them. At startup, if there's more than one worker, there can be a "check then write" race condition on creating a new index. This causes the exception just mentioned.
The text was updated successfully, but these errors were encountered: