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

[cherry-pick] iterator lower bound and optimized ingesting sst #2559

Merged

Conversation

zhangjinpeng87
Copy link
Member

No description provided.

Copy link
Member

@AndreMouche AndreMouche left a comment

Choose a reason for hiding this comment

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

LGTM

@zhangjinpeng87
Copy link
Member Author

/run-all-tests

@@ -152,7 +152,12 @@ impl<'a> SelectContext<'a> {
} else {
range.get_start().to_vec()
};
let upper_bound = if !self.core.desc_scan && !range.get_end().is_empty() {
let lower_bound = if !range.get_start().is_empty() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we set both lower bound and upper bound like we do in function init_with_range?

Copy link
Member Author

Choose a reason for hiding this comment

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

Is is possible the start or end is empty?

@hicqu
Copy link
Contributor

hicqu commented Dec 6, 2017

LGTM.

@zhangjinpeng87 zhangjinpeng87 merged commit 422072e into tikv:release-1.0 Dec 6, 2017
@zhangjinpeng87 zhangjinpeng87 deleted the lower-bound-ingest-sst branch December 6, 2017 08:54
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