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

abstract TsFileFlushPolicy and allow specifying storage groups in flush command #685

Merged
merged 5 commits into from Jan 3, 2020

Conversation

jt2594838
Copy link
Contributor

To make the different replicas of a data partition consistent, the distributed version needs to force all replicas close file by the leader instead of on their own. So the TsFileFlushPolicy is abstracted to make this behavior controllable.

Moreover, since the leader should be able to make a follower close one of its storage group, the grammar of the flush command is enhanced to support finer granularity.

jt2594838 and others added 3 commits January 3, 2020 09:20
…java

Co-Authored-By: Jialin Qiao <qjl16@mails.tsinghua.edu.cn>
# Conflicts:
#	server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
@qiaojialin qiaojialin merged commit ba7ff96 into master Jan 3, 2020
@qiaojialin qiaojialin deleted the pull_up_file_close branch January 3, 2020 06:41
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

3 participants