Skip to content

Conversation

@original-brownbear
Copy link
Contributor

  • 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