Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid noisy exceptions on data nodes when aborting snapshots (#88476)
Currently, an abort (especially when triggered an index delete) can manifest as either an aborted snapshot exception, a missing index exception or an NPE. The latter two show up as noise in logs. This change catches effectively all of these cleanly as aborted snapshot exceptions so they don't get logged as warnings and avoids the NPE if a shard was removed from the index service concurrently by using the API that throws on missing shards to look it up.
- Loading branch information