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

remove read_quorum #1947

Merged
merged 2 commits into from
Jun 20, 2017
Merged

remove read_quorum #1947

merged 2 commits into from
Jun 20, 2017

Conversation

zhangjinpeng87
Copy link
Member

No description provided.

@@ -85,7 +65,7 @@ fn test_read_leader_in_lease(read_quorum: bool) {
cluster.add_send_filter(IsolationFilterFactory::new(leader.get_store_id()));

// leader still in lease, check if can read on leader
assert_eq!(can_read(&ctx, storage.as_ref(), k2, v2), !read_quorum);
assert_eq!(can_read(&ctx, storage.as_ref(), k2, v2), true);
Copy link
Contributor

Choose a reason for hiding this comment

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

is it ok here? we may not read v2 here.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's ok here.

@siddontang
Copy link
Contributor

CI failed

@disksing
Copy link
Contributor

LGTM.

@BusyJay
Copy link
Member

BusyJay commented Jun 20, 2017

LGTM

@zhangjinpeng87 zhangjinpeng87 merged commit acf29c5 into master Jun 20, 2017
@zhangjinpeng87 zhangjinpeng87 deleted the zhangjinpeng/remove-read-quorum branch June 20, 2017 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants