OpenSearch/x-pack/plugin/core
Armin Braun 813b49adb4
Make BlobStoreRepository Aware of ClusterState (#49639) (#49711)
* Make BlobStoreRepository Aware of ClusterState (#49639)

This is a preliminary to #49060.

It does not introduce any substantial behavior change to how the blob store repository
operates. What it does is to add all the infrastructure changes around passing the cluster service to the blob store, associated test changes and a best effort approach to tracking the latest repository generation on all nodes from cluster state updates. This brings a slight improvement to the consistency
by which non-master nodes (or master directly after a failover) will be able to determine the latest repository generation. It does not however do any tricky checks for the situation after a repository operation
(create, delete or cleanup) that could theoretically be used to get even greater accuracy to keep this change simple.
This change does not in any way alter the behavior of the blobstore repository other than adding a better "guess" for the value of the latest repo generation and is mainly intended to isolate the actual logical change to how the
repository operates in #49060
2019-11-29 14:57:47 +01:00
..
forbidden Ensure SHA256 is not used in tests (#42289) 2019-05-22 09:54:24 +03:00
licenses Update http-core and http-client dependencies (#46549) 2019-09-12 09:45:29 +02:00
src Make BlobStoreRepository Aware of ClusterState (#49639) (#49711) 2019-11-29 14:57:47 +01:00
build.gradle Improved diagnostics for TLS trust failures (#49669) 2019-11-29 15:01:20 +11:00
snapshot.key Make licensing FIPS-140 compliant (#30251) 2018-05-02 22:19:43 +03:00