mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
postCreateUnderLock try catch listeners
This commit is contained in:
parent
39fad8c374
commit
cddf198c83
@ -96,7 +96,11 @@ public class ShardIndexingService extends AbstractIndexShardComponent {
|
||||
|
||||
public void postCreateUnderLock(Engine.Create create) {
|
||||
for (IndexingOperationListener listener : listeners) {
|
||||
listener.postCreateUnderLock(create);
|
||||
try {
|
||||
listener.postCreateUnderLock(create);
|
||||
} catch (Exception e) {
|
||||
logger.warn("postCreateUnderLock listener [{}] failed", e, listener);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user