OpenSearch/x-pack/plugin
David Turner c10b4ae15a Support cloning of searchable snapshot indices (#56595)
Today you can convert a searchable snapshot index back into a regular index by
restoring the underlying snapshot, but this is somewhat wasteful if the shards
are already in cache since it copies the whole index from the repository again.

Instead, we can make use of the locally-cached data by using the clone API to
copy the contents of the cache into the layout expected by a regular shard.
This commit marks the searchable snapshot's private index settings as
`NotCopyableOnResize` so that they are removed by resize operations such as
cloning.

Cloning a regular index typically hard-links the underlying files rather than
copying them, but this is tricky to support in the case of a searchable
snapshot so this commit takes the simpler approach of always copying the
underlying files.
2020-05-13 11:05:14 +01:00
..
analytics Add moving percentiles pipeline aggregation (#55441) (#56575) 2020-05-12 11:35:23 +02:00
async-search Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
autoscaling Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
ccr Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
core Expose idp.metadata.http.refresh for SAML realm (#56354) (#56593) 2020-05-13 11:51:18 +03:00
deprecation Add xpack setting deprecations to deprecation API (#56290) 2020-05-07 10:28:17 -04:00
enrich Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
eql QL: case sensitive support in EQL (#56404) (#56597) 2020-05-12 16:56:18 +03:00
frozen-indices Allow searching of snapshot taken while indexing (#55511) 2020-04-21 13:21:38 +01:00
graph Convert remaining license methods to isAllowed (#55908) (#55991) 2020-04-30 15:52:22 -07:00
identity-provider Backport: Deprecate the kibana reserved user (#54967) (#55822) 2020-04-28 10:30:25 -04:00
ilm Fix Missing IgnoredUnavailable Flag in 7.x SLM Retention Task (#56616) 2020-05-12 18:07:58 +02:00
logstash Deprecated xpack "enable" settings should be no-ops (#55416) (#56167) 2020-05-05 10:40:49 -04:00
mapper-constant-keyword Simplify signature of FieldMapper#parseCreateField. (#56144) 2020-05-06 11:12:09 -07:00
mapper-flattened Simplify signature of FieldMapper#parseCreateField. (#56144) 2020-05-06 11:12:09 -07:00
ml Save Bounds Checks in BytesReference (#56577) (#56621) 2020-05-12 20:33:45 +02:00
monitoring Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
ql QL: case sensitive support in EQL (#56404) (#56597) 2020-05-12 16:56:18 +03:00
rollup Fix RollupJobTaskTests Leaking Threads on Slowness (#56438) (#56518) 2020-05-11 17:24:10 +02:00
search-business-rules Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
searchable-snapshots Support cloning of searchable snapshot indices (#56595) 2020-05-13 11:05:14 +01:00
security Share netty event loops between transports (#56553) 2020-05-11 15:43:43 -06:00
spatial [Geo] Refactor Point Field Mappers (#56060) (#56540) 2020-05-11 17:11:36 -05:00
sql SQL: [Test] Fix JdbcPreparedStatement date test 2020-05-12 17:08:16 +02:00
src/test [7.x] json spec: allow null for documentation url (#55749) (#56625) 2020-05-12 14:49:02 -05:00
transform [7.x][Transform] fix count when matching exact ids(#56544) (#56582) 2020-05-12 14:23:13 +02:00
vectors Simplify signature of FieldMapper#parseCreateField. (#56144) 2020-05-06 11:12:09 -07:00
voting-only-node Convert remaining license methods to isAllowed (#55908) (#55991) 2020-04-30 15:52:22 -07:00
watcher [7.x] Watcher dont add watches post index if stopped (#56556) (#56629) 2020-05-12 16:30:27 -05:00
wildcard Simplify signature of FieldMapper#parseCreateField. (#56144) 2020-05-06 11:12:09 -07:00
build.gradle [7.x] json spec: allow null for documentation url (#55749) (#56625) 2020-05-12 14:49:02 -05:00