Skip to content

Extract TransportRequestDeduplication from ShardStateAction (#37870)#39399

Merged
original-brownbear merged 1 commit intoelastic:6.7from
original-brownbear:37870-6.7
Feb 26, 2019
Merged

Extract TransportRequestDeduplication from ShardStateAction (#37870)#39399
original-brownbear merged 1 commit intoelastic:6.7from
original-brownbear:37870-6.7

Conversation

@original-brownbear
Copy link
Copy Markdown
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

* 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 #37686
@original-brownbear original-brownbear added :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >refactoring backport labels Feb 26, 2019
@elasticmachine
Copy link
Copy Markdown
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/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants