OpenSearch/x-pack/plugin
Simon Willnauer a79cd77e5c Remove IndexShard dependency from Repository (#42213)
* Remove IndexShard dependency from Repository

In order to simplify repository testing especially for BlobStoreRepository
it's important to remove the dependency on IndexShard and reduce it to
Store and MapperService (in the snapshot case). This significantly reduces
the dependcy footprint for Repository and allows unittesting without starting
nodes or instantiate entire shard instances. This change deprecates the old
method signatures and adds a unittest for FileRepository to show the advantage
of this change.
In addition, the unittesting surfaced a bug where the internal file names that
are private to the repository were used in the recovery stats instead of the
target file names which makes it impossible to relate to the actual lucene files
in the recovery stats.

* don't delegate deprecated methods

* apply comments

* test
2019-05-22 14:27:11 +02:00
..
ccr Remove IndexShard dependency from Repository (#42213) 2019-05-22 14:27:11 +02:00
core Remove IndexShard dependency from Repository (#42213) 2019-05-22 14:27:11 +02:00
data-frame [ML Data Frame] Persist and restore checkpoint and position (#41942) 2019-05-21 18:57:13 +01:00
deprecation Switch run task to use real distro (#41590) 2019-05-06 12:34:07 -07:00
graph Switch run task to use real distro (#41590) 2019-05-06 12:34:07 -07:00
ilm Switch run task to use real distro (#41590) 2019-05-06 12:34:07 -07:00
logstash Switch run task to use real distro (#41590) 2019-05-06 12:34:07 -07:00
ml [ML] Include node name when native controller cannot start process (#42225) (#42338) 2019-05-22 12:42:04 +03:00
monitoring Update ciphers for TLSv1.3 and JDK11 if available (#42082) 2019-05-20 09:45:36 -04:00
rollup Fix unchecked warning in RollupIndexerIndexingTests#testSimpleDateHistoWithOverlappingDelay 2019-05-21 12:28:57 +02:00
security Fail early when rp.client_secret is missing in OIDC realm (#42256) 2019-05-22 13:20:41 +03:00
sql Update to joda time 2.10.2 (#42199) 2019-05-20 16:58:54 +02:00
src/test [ML Data Frame] Persist and restore checkpoint and position (#41942) 2019-05-21 18:57:13 +01:00
watcher Update ciphers for TLSv1.3 and JDK11 if available (#42082) 2019-05-20 09:45:36 -04:00
build.gradle Add support for API keys to access Elasticsearch (#38291) 2019-02-05 14:21:57 +11:00