OpenSearch/x-pack/plugin
Dimitris Athanasiou ec405978fc
[7.x][ML] Update reindexing task progress before persisting job progress (#61868) (#61875)
This fixes a bug introduced by #61782. In that PR I thought I could
simplify the persistence of progress by using the progress straight
from the stats holder in the task instead of calling the get
stats action. However, I overlooked that it is then possible to
have stale progress for the reindexing task as that is only updated
when the get stats API is called.

In this commit this is fixed by updating reindexing task progress
before persisting the job progress. This seems to be much more
lightweight than calling the get stats request.

Closes #61852

Backport of #61868
2020-09-02 21:44:18 +03:00
..
analytics Pass SearchLookup supplier through to fielddataBuilder (#61430) (#61638) 2020-08-27 18:09:56 +02:00
async [7.x] Cleanup xpack build.gradle (#60554) (#60603) 2020-08-03 13:11:43 -05:00
async-search [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
autoscaling [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
ccr [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
core [ML] Check and install the latest template in the DFA executor (#61589) (#61842) 2020-09-02 12:16:29 +01:00
data-streams [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
deprecation Do not create two loggers for DeprecationLogger backport(#58435) (#61530) 2020-08-26 16:04:02 +02:00
enrich [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
eql [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
frozen-indices [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
graph [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
identity-provider [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
ilm [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
logstash [7.x] Cleanup xpack build.gradle (#60554) (#60603) 2020-08-03 13:11:43 -05:00
mapper-constant-keyword [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
mapper-flattened [7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855) 2020-09-02 11:19:24 -05:00
ml [7.x][ML] Update reindexing task progress before persisting job progress (#61868) (#61875) 2020-09-02 21:44:18 +03:00
monitoring Speed up Compression Logic by Pooling Resources (#61358) (#61495) 2020-08-25 04:01:55 +02:00
ql QL: wildcard field type support (#58062) (#61205) 2020-08-17 18:24:32 +03:00
rollup Do not create two loggers for DeprecationLogger backport(#58435) (#61530) 2020-08-26 16:04:02 +02:00
search-business-rules [7.x] Cleanup xpack build.gradle (#60554) (#60603) 2020-08-03 13:11:43 -05:00
searchable-snapshots [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
security [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
spatial [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
sql Upgrade to Lucene 8.6.2 (#61688) 2020-08-31 09:54:07 -04:00
src/test Rewrite Inference yml tests for better clean up (#61180) (#61555) 2020-08-27 11:16:26 +01:00
stack [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
transform [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
vectors [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
voting-only-node [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
watcher [7.x] Convert second 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#61802) (#61856) 2020-09-02 11:20:55 -05:00
wildcard Pass SearchLookup supplier through to fielddataBuilder (#61430) (#61638) 2020-08-27 18:09:56 +02:00
build.gradle Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00