OpenSearch/docs/reference
Zachary Tong 4dbf498721
[Rollup] Job deletion should be invoked on the allocated task (#34574)
We should delete a job by directly talking to the allocated 
task and telling it to shutdown. Today we shut down a job 
via the persistent task framework. This is not ideal because, 
while the job has been removed from the persistent task 
CS, the allocated task continues to live until it gets the 
shutdown message.

This means a user can delete a job, immediately delete 
the rollup index, and then see new documents appear in
 the just-deleted index. This happens because the indexer
 in the allocated task is still running and indexes a few 
more documents before getting the shutdown command.

In this PR, the transport action is changed to a TransportTasksAction, 
and we invoke onCancelled() directly on the matching job. 
The race condition still exists after this PR (albeit less likely), 
but this was a precursor to fixing the issue and a self-contained
chunk of code. A second PR will followup to fix the race itself.
2018-10-23 12:23:22 -04:00
..
aggregations Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
analysis Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
cat Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
cluster Tasks: Document that status is not semvered (#34270) 2018-10-04 14:42:37 -04:00
commands Fix a variety of typos and misspelled words (#32792) 2018-10-03 18:11:38 +01:00
docs Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
graph [DOCS] Moves graph to docs folder (#33472) 2018-09-26 14:59:31 -07:00
how-to Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
images DOC: Add SQL section on client applications 2018-09-13 15:44:52 +03:00
index-modules [DOCS] Removes beta label from index sorting (#34327) 2018-10-05 19:44:25 +02:00
indices [DOCS] Force Merge: clarify execution and storage requirements (#33882) 2018-10-23 12:25:04 +02:00
ingest INGEST: Document Processor Conditional (#33388) 2018-10-23 17:37:30 +02:00
licensing Use trial license in docs tests (#34673) 2018-10-21 06:23:42 -04:00
mapping Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
migration A small typo in migration-assistance doc (#34704) 2018-10-23 15:28:25 +02:00
ml Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
modules Add missing word to remote clusters docs 2018-10-20 12:11:41 -04:00
monitoring Implement xpack.monitoring.elasticsearch.collection.enabled setting (#33474) 2018-09-17 18:33:43 -07:00
query-dsl Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
release-notes [DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
rest-api Use trial license in docs tests (#34673) 2018-10-21 06:23:42 -04:00
rollup [Rollup] Job deletion should be invoked on the allocated task (#34574) 2018-10-23 12:23:22 -04:00
search Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
security [DOCS] Moves security reference to docs folder (#33643) 2018-09-14 13:09:47 -07:00
settings [DOCS] Adds new lazy ml node setting (#34600) 2018-10-18 16:11:36 -05:00
setup [DOCS] .Security index is never auto created (#34589) 2018-10-23 18:51:59 +03:00
sql SQL: Support pattern against compatible indices (#34718) 2018-10-23 17:07:51 +03:00
testing [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
upgrade Docs: Tweak upgrade docs 2018-10-17 08:17:12 -04:00
aggregations.asciidoc [Docs] Update aggregations.asciidoc (#29265) 2018-03-28 15:01:45 +02:00
analysis.asciidoc [Docs] Add clarification to analysis example (#31826) 2018-07-06 14:36:58 +02:00
api-conventions.asciidoc [DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
cat.asciidoc Rename the bulk thread pool to write thread pool (#29593) 2018-04-19 08:18:58 -04:00
cluster.asciidoc Update docs for node specifications (#30468) 2018-08-20 14:21:31 +01:00
docs.asciidoc Inclusion of link to Multi Delete (#22619) 2017-01-16 12:58:59 +01:00
getting-started.asciidoc Change "REST Verb" to "HTTP Verb" (#34195) 2018-10-02 17:09:54 -04:00
glossary.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
how-to.asciidoc Correct grammar in list in how-to docs 2017-01-17 20:57:22 -05:00
index-modules.asciidoc [DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
index.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc add split index reference in indices.asciidoc 2017-11-06 12:55:41 +01:00
ingest.asciidoc [DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
mapping.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
modules.asciidoc Fix name of remote clusters reference 2018-10-20 11:18:27 -04:00
query-dsl.asciidoc Update query-dsl.asciidoc (#27669) 2017-12-11 18:06:08 +01:00
redirects.asciidoc Upgrade to a Lucene 8 snapshot (#33310) 2018-09-06 14:42:06 +02:00
release-notes.asciidoc [DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
search.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
setup.asciidoc [DOCS] Starting Elasticsearch (#31701) 2018-07-03 13:40:37 -07:00
testing.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
upgrade.asciidoc Revert "[DOCS] Added 6.3 info & updated the upgrade table. (#30940)" 2018-06-11 22:04:36 -04:00