Package org.graylog2.database
Class MongoDBUpsertRetryer
java.lang.Object
org.graylog2.database.MongoDBUpsertRetryer
MongoDB upsert requests can fail when they are creating a new entry concurrently.
https://jira.mongodb.org/browse/SERVER-14322
This helper can be used to retry upserts if they throw a
DuplicateKeyException
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MongoDBUpsertRetryer
public MongoDBUpsertRetryer()
-
-
Method Details
-
run
-