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

[IOTDB-520] Result of IBatchReader should not cross partition #845

Merged
merged 2 commits into from
Feb 26, 2020

Conversation

samperson1997
Copy link
Contributor

Limit the end time before current partition ends when adding readers to PriorityMergeReader, so that the batches never cross the partition border, and the coordinator node will be able to just return the batches without merging using a heap comparing the first element of each batch.

@sonarcloud
Copy link

sonarcloud bot commented Feb 26, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@qiaojialin qiaojialin merged commit 2b8b154 into master Feb 26, 2020
@qiaojialin qiaojialin deleted the jira_520 branch February 26, 2020 13:48
qiaojialin pushed a commit that referenced this pull request Mar 1, 2020
#860)

* Revert "[IOTDB-520] Result of IBatchReader should not cross partition (#845)"
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.

None yet

2 participants