Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Sep 4, 2018

There are two races in the testUpdateAndReadChangesConcurrently if the following engines are created in the worker threads. We fixed the translog issue in #33352, but there is still another race with createStore.

This commit ensures that we create all following engines in the main thread.

Relates #33352
Closes #33344

There are two races in the testUpdateAndReadChangesConcurrently if the
following engines are created in the worker threads. We fixed the
translog issue in elastic#33352, but still another race with `createStore`.

This commit ensures that we create the following engines in the main
thread.

Relates elastic#33352
Closes elastic#33344
@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests v7.0.0 :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. v6.5.0 labels Sep 4, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@dnhatn dnhatn changed the title TEST: Create following engines in the main test TEST: Create following engines in the main thread Sep 4, 2018
Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

LGTM :)

@dnhatn
Copy link
Member Author

dnhatn commented Sep 5, 2018

@original-brownbear thanks for reviewing.

@dnhatn dnhatn merged commit 39e3bd9 into elastic:master Sep 5, 2018
@dnhatn dnhatn deleted the snapshot-test branch September 5, 2018 23:05
dnhatn added a commit that referenced this pull request Sep 6, 2018
There are two races in the testUpdateAndReadChangesConcurrently if the
following engines are created in the worker threads. We fixed the
translog issue in #33352, but there is still another race with
createStore.

This commit ensures that we create all engines in the main thread.

Relates #33352
Closes #33344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >test Issues or PRs that are addressing/adding tests v6.5.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] LuceneChangesSnapshotTests#testUpdateAndReadChangesConcurrently fails

4 participants