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

Add more convenient lite-weight interfaces #227

Merged
merged 4 commits into from
Apr 29, 2019

Conversation

BusyJay
Copy link
Member

@BusyJay BusyJay commented Apr 29, 2019

This PR introduces two simple and lite weight interfaces:

  • ping to trigger heartbeats without ticking,
  • status_ref to borrow the progress set instead of cloning.

@BusyJay BusyJay added the Enhancement An improvement to existing code. label Apr 29, 2019
@hicqu
Copy link
Contributor

hicqu commented Apr 29, 2019

LGTM.

Copy link
Member

@overvenus overvenus left a comment

Choose a reason for hiding this comment

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

LGTM

@BusyJay BusyJay merged commit 065c37d into tikv:0.4.x Apr 29, 2019
@BusyJay BusyJay deleted the introduce-lite-status branch April 29, 2019 11:00
@Hoverbear Hoverbear modified the milestone: 0.6.0 May 8, 2019
hicqu pushed a commit to hicqu/raft-rs that referenced this pull request Jul 17, 2019
This PR introduces two simple and lite weight interfaces:
- ping to trigger heartbeats without ticking,
- status_ref to borrow the progress set instead of cloning.
Hoverbear pushed a commit that referenced this pull request Jul 19, 2019
* Check pending conf change before campaign (#225)

Fix #221.

* Add more convenient lite-weight interfaces (#227)

This PR introduces two simple and lite weight interfaces:
- ping to trigger heartbeats without ticking,
- status_ref to borrow the progress set instead of cloning.

* *: bump to 0.4.2 (#228)

* Bump to v0.4.3 (#231)

* raft: leader respond to learner read index message (#220)

Signed-off-by: nolouch <nolouch@gmail.com>

* Bump to v0.4.3

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Request snapshot (#243)

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

* cargo fmt

* address comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An improvement to existing code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants