Skip to content

Move primary term from replicas proxy to repl op#41119

Merged
DaveCTurner merged 1 commit intoelastic:masterfrom
DaveCTurner:2019-04-11-remove-primary-term-from-replicas-proxy
Apr 11, 2019
Merged

Move primary term from replicas proxy to repl op#41119
DaveCTurner merged 1 commit intoelastic:masterfrom
DaveCTurner:2019-04-11-remove-primary-term-from-replicas-proxy

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

A small refactoring that removes the primaryTerm field from ReplicasProxy and
instead passes it directly in to the methods that need it.

A small refactoring that removes the primaryTerm field from ReplicasProxy and
instead passes it directly in to the methods that need it.
@DaveCTurner DaveCTurner added >non-issue :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v8.0.0 v7.2.0 labels Apr 11, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

Copy link
Copy Markdown
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Just curious about the benefits of this refactoring?

@DaveCTurner
Copy link
Copy Markdown
Member Author

Thanks @dnhatn. This is another step towards the separation of concerns described in #40706; at least, it means we don't need to add yet more factories to perform that separation.

@DaveCTurner DaveCTurner merged commit b41e3fc into elastic:master Apr 11, 2019
@DaveCTurner DaveCTurner deleted the 2019-04-11-remove-primary-term-from-replicas-proxy branch April 11, 2019 19:26
DaveCTurner added a commit that referenced this pull request Apr 11, 2019
A small refactoring that removes the primaryTerm field from ReplicasProxy and
instead passes it directly in to the methods that need it. Relates #40706.
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
A small refactoring that removes the primaryTerm field from ReplicasProxy and
instead passes it directly in to the methods that need it. Relates elastic#40706.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >non-issue v7.2.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants