Skip to content

Conversation

@fcofdez
Copy link
Contributor

@fcofdez fcofdez commented Oct 19, 2021

Since #77731 TransportBulkAction is dispatched into the Write thread pool,
this test makes use of a deterministic task order in the data node write
thread pool. To ensure that ordering, execute the TransportBulkAction
in a coordinator node preventing that additional tasks are scheduled into
the data node write thread pool.

Closes #79300

Since elastic#7773 was introduced, TransportBulkAction is dispatched in the
Write thread pool, this changed the expectations in ordering that these
test have. This commit lets the TransportBulkAction to run so the
expected write ordering in the test is mantained.

Closes elastic#79300
@fcofdez fcofdez added >test Issues or PRs that are addressing/adding tests v8.0.0 :Distributed Indexing/Reindex Issues relating to reindex that are not caused by issues further down Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. labels Oct 19, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@fcofdez
Copy link
Contributor Author

fcofdez commented Oct 19, 2021

I'm testing a simpler fix, I'll push it shortly

Copy link
Contributor

@Tim-Brooks Tim-Brooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fcofdez
Copy link
Contributor Author

fcofdez commented Oct 20, 2021

@elasticmachine run elasticsearch-ci/part-2
unrelated failure

@fcofdez
Copy link
Contributor Author

fcofdez commented Oct 20, 2021

@elasticmachine run elasticsearch-ci/part-2

@fcofdez
Copy link
Contributor Author

fcofdez commented Oct 20, 2021

@elasticmachine update branch

@fcofdez fcofdez merged commit ddff83e into elastic:master Oct 20, 2021
@fcofdez
Copy link
Contributor Author

fcofdez commented Oct 20, 2021

Thanks Tim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Reindex Issues relating to reindex that are not caused by issues further down Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] BulkByScrollUsesAllScrollDocumentsAfterConflictsIntegTests testReindex failing

4 participants