OpenSearch/x-pack/plugin
Jay Modi 2d9e3c7794
Start resource watcher service early (#55275)
The ResourceWatcherService enables watching of files for modifications
and deletions. During startup various consumers register the files that
should be watched by this service. There is behavior that might be
unexpected in that the service may not start polling until later in the
startup process due to the use of lifecycle states to control when the
service actually starts the jobs to monitor resources. This change
removes this unexpected behavior so that upon construction the service
has already registered its tasks to poll resources for changes. In
making this modification, the service no longer extends
AbstractLifecycleComponent and instead implements the Closeable
interface so that the polling jobs can be terminated when the service
is no longer required.

Relates #54867
Backport of #54993
2020-04-15 20:45:39 -06:00
..
analytics [7.x] Add analytics plugin usage stats to _xpack/usage (#54911) (#55162) 2020-04-14 17:03:14 -04:00
async-search Async search: create internal index only before storing initial response (#54619) 2020-04-10 18:24:05 +02:00
autoscaling Add wire tests for get autoscaling decision objects 2020-04-05 21:34:36 -04:00
ccr CCR: Test follow on top of closed index (#54956) 2020-04-15 20:13:32 +02:00
core Start resource watcher service early (#55275) 2020-04-15 20:45:39 -06:00
deprecation Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
enrich Replace license check isAuthAllowed with isSecurityEnabled (#54547) (#55082) 2020-04-13 12:26:39 -07:00
eql EQL: Add cascading search cancellation (#54843) 2020-04-14 08:06:02 -04:00
frozen-indices Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
graph Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
identity-provider Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
ilm Ignore ILM indices in the TerminalPolicyStep (#55184) 2020-04-14 16:45:03 -06:00
logstash Reintroduce system index APIs for Kibana (#54935) 2020-04-08 09:08:49 -06:00
mapper-constant-keyword Introduce a `constant_keyword` field. (#49713) (#53024) 2020-03-03 16:01:47 +01:00
mapper-flattened Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
ml Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
monitoring Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
ql SQL: drop BASE TABLE type in favour for just TABLE (#54836) (#54951) 2020-04-08 16:02:12 +02:00
rollup Remove Xlint exclusions from gradle files (part 2) 2020-04-03 12:15:42 +01:00
search-business-rules [7.x] Create new `geo` module and migrate geo_shape registration (#53562) (#54924) 2020-04-07 16:30:58 -07:00
searchable-snapshots Use unlimited cache size by default (#55218) 2020-04-15 12:20:51 +02:00
security Start resource watcher service early (#55275) 2020-04-15 20:45:39 -06:00
spatial [7.x] Create new `geo` module and migrate geo_shape registration (#53562) (#54924) 2020-04-07 16:30:58 -07:00
sql Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
src/test [7.x] Add analytics plugin usage stats to _xpack/usage (#54911) (#55162) 2020-04-14 17:03:14 -04:00
transform Preserve parent task id for ml transform (#55124) 2020-04-14 18:43:47 +03:00
vectors Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
voting-only-node Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
watcher Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
wildcard Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
build.gradle Fixes for IntelliJ IDEA 2020.1 support (#55077) 2020-04-10 11:57:48 -07:00