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

RecoveryID should not be a per JVM but per Node #6207

Merged
merged 1 commit into from May 16, 2014

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented May 16, 2014

Today the RecovyerID is taken from a static atomic long which
is essentially a per JVM ID. We run the tests within the same
JVM and that means we don't really simulate what happens in
production environments. Instead we should use a per node generated
ID.

@s1monw s1monw restored the no_static_ids branch May 16, 2014 12:11
@s1monw s1monw closed this May 16, 2014
@s1monw s1monw deleted the no_static_ids branch May 16, 2014 12:11
@s1monw s1monw restored the no_static_ids branch May 16, 2014 12:11
@s1monw
Copy link
Contributor Author

s1monw commented May 16, 2014

github is flaky today it seems....

@s1monw s1monw reopened this May 16, 2014
@javanna
Copy link
Member

javanna commented May 16, 2014

LGTM

Today the RecovyerID is taken from a static atomic long which
is essentially a per JVM ID. We run the tests within the same
JVM and that means we don't really simulate what happens in
production environments. Instead we should use a per node generated
ID.
@s1monw s1monw merged commit eef505e into elastic:master May 16, 2014
@s1monw s1monw removed the review label May 16, 2014
@s1monw s1monw deleted the no_static_ids branch May 16, 2014 13:01
@clintongormley clintongormley added the :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. label Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. >enhancement v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants