Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore read/write visibility in PlainShardsIterator. #6039

Merged
merged 1 commit into from May 5, 2014

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented May 5, 2014

Change #5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
volatile keyword.

@kimchy
Copy link
Member

kimchy commented May 5, 2014

LGTM

Change elastic#5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
`volatile` keyword.

Close elastic#6039
@jpountz jpountz added bug and removed v1.3.0 labels May 5, 2014
jpountz added a commit that referenced this pull request May 5, 2014
Change #5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
`volatile` keyword.

Close #6039
jpountz added a commit that referenced this pull request May 5, 2014
Change #5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
`volatile` keyword.

Close #6039
@jpountz jpountz merged commit 727e617 into elastic:master May 5, 2014
jpountz added a commit that referenced this pull request May 5, 2014
Change #5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
`volatile` keyword.

Close #6039
@jpountz jpountz deleted the fix/shards_iterator_visibility branch May 5, 2014 08:32
@jpountz jpountz changed the title Restore read/write visibility is PlainShardsIterator. Restore read/write visibility in PlainShardsIterator. May 5, 2014
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
Change elastic#5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
`volatile` keyword.

Close elastic#6039
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
Change elastic#5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
`volatile` keyword.

Close elastic#6039
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants