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

STORM-2412: Nimbus isLeader check while waiting for max replication #2006

Merged
merged 1 commit into from
Mar 15, 2017

Conversation

arunmahadevan
Copy link
Contributor

While using local FS blob store, nimbus goes into a state where it indefinitely waits for max replication (with max replication wait time set to -1). At this time its also observed that the nimbus that received the topology submission is no longer the leader.
While waiting for max replication, nimbus can also do the isLeader check and fail the topology submission if its no longer the leader.

Also added some debug logs to better troubleshoot the race conditions when it happens.

This is #2003 applied to master branch.

While using local FS blob store, nimbus goes into a state where it indefinitely waits for max replication (with max replication wait time set to -1). At this time its also observed that the nimbus that received the topology submission is no longer the leader.
While waiting for max replication, nimbus can also do the `isLeader` check and fail the topology submission if its no longer the leader.

Also added some debug logs to better troubleshoot the race conditions when it happens.
@satishd
Copy link
Member

satishd commented Mar 15, 2017

+1

1 similar comment
@HeartSaVioR
Copy link
Contributor

+1

@asfgit asfgit merged commit fd7c62a into apache:master Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants