OpenSearch/core
joachimdraeger fec1802e2f Fixes inefficient loading of snapshot repository data (#24510)
This commit fixes inefficient (worst case exponential) loading of 
snapshot repository data when checking for incompatible snapshots,
that was introduced in #22267.  When getting snapshot information,
getRepositoryData() was called on every snapshot, so if there are
a large number of snapshots in the repository and _all snapshots
were requested, the performance degraded exponentially.  This
commit fixes the issue by only calling getRepositoryData once and
using the data from it in all subsequent calls to get snapshot 
information.

Closes #24509
2017-05-08 17:43:01 -04:00
..
licenses Upgrade to a Lucene 7 snapshot (#24089) 2017-04-18 15:17:21 +02:00
src Fixes inefficient loading of snapshot repository data (#24510) 2017-05-08 17:43:01 -04:00
build.gradle Build: Switch jna dependency to an elastic version (#24081) 2017-04-13 00:17:50 -07:00