Skip to content

Conversation

@original-brownbear
Copy link
Contributor

  • Extracted the logic for master request duplication so it can be reused by the snapshotting logic
  • Removed custom listener used by ShardStateAction to not leak these into future users of this class
  • Changed semantics slightly to get rid of redundant instantiations of the composite listener
  • Relates Fix Two Races that Lead to Stuck Snapshots #37686

back porting this as a prerequisite of snapshot fix back ports

…37870)

* Extracted the logic for master request duplication so it can be reused by the snapshotting logic
* Removed custom listener used by `ShardStateAction` to not leak these into future users of this class
* Changed semantics slightly to get rid of redundant instantiations of the composite listener
* Relates elastic#37686
@original-brownbear original-brownbear added :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. >refactoring backport labels Feb 26, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@original-brownbear original-brownbear merged commit 2735639 into elastic:6.7 Feb 26, 2019
@original-brownbear original-brownbear deleted the 37870-6.7 branch February 26, 2019 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. >refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants