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

Introduce ShardState Enum + Slight Cleanup SnapshotsInProgress (#41940) #42573

Merged
merged 1 commit into from
May 27, 2019

Conversation

original-brownbear
Copy link
Member

  • Added separate enum for the state of each shard, it was really
    confusing that we used the same enum for the state of the snapshot
    overall and the state of each individual shard
  • Shortened some obvious spots in equals method and saved a few lines
    via computeIfAbsent to make up for adding 50 new lines to this class

back port of #41940

…ic#41940)

* Added separate enum for the state of each shard, it was really
confusing that we used the same enum for the state of the snapshot
overall and the state of each individual shard
   * relates elastic#40943 (comment)
* Shortened some obvious spots in equals method and saved a few lines
via `computeIfAbsent` to make up for adding 50 new lines to this class
@original-brownbear original-brownbear merged commit bb7e8eb into elastic:7.x May 27, 2019
@original-brownbear original-brownbear deleted the 41940-7.x branch May 27, 2019 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant