-
Notifications
You must be signed in to change notification settings - Fork 92
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
fix renaming encrypted directory and check compaction paused during checkpoint #338
Conversation
Signed-off-by: tabokie <xy.tao@outlook.com>
…ypt-rename Signed-off-by: tabokie <xy.tao@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test? Rest LGTM
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
auto opts = ROCKSDB_NAMESPACE::FlushOptions(); | ||
opts.check_if_compaction_disabled = true; | ||
s = db_->Flush(opts, handle); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some comment about the change?
/run-test |
Signed-off-by: tabokie <xy.tao@outlook.com>
…heckpoint (tikv#338) * fix renaming encrypted directory Signed-off-by: tabokie <xy.tao@outlook.com> * fix build Signed-off-by: tabokie <xy.tao@outlook.com> * patch test manager Signed-off-by: tabokie <xy.tao@outlook.com> * fix build Signed-off-by: tabokie <xy.tao@outlook.com> * check compaction paused during checkpoint Signed-off-by: tabokie <xy.tao@outlook.com> * add comment Signed-off-by: tabokie <xy.tao@outlook.com> --------- Signed-off-by: tabokie <xy.tao@outlook.com>
…heckpoint (tikv#338) * fix renaming encrypted directory Signed-off-by: tabokie <xy.tao@outlook.com> * fix build Signed-off-by: tabokie <xy.tao@outlook.com> * patch test manager Signed-off-by: tabokie <xy.tao@outlook.com> * fix build Signed-off-by: tabokie <xy.tao@outlook.com> * check compaction paused during checkpoint Signed-off-by: tabokie <xy.tao@outlook.com> * add comment Signed-off-by: tabokie <xy.tao@outlook.com> --------- Signed-off-by: tabokie <xy.tao@outlook.com> Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
…heckpoint (tikv#338) * fix renaming encrypted directory Signed-off-by: tabokie <xy.tao@outlook.com> * fix build Signed-off-by: tabokie <xy.tao@outlook.com> * patch test manager Signed-off-by: tabokie <xy.tao@outlook.com> * fix build Signed-off-by: tabokie <xy.tao@outlook.com> * check compaction paused during checkpoint Signed-off-by: tabokie <xy.tao@outlook.com> * add comment Signed-off-by: tabokie <xy.tao@outlook.com> --------- Signed-off-by: tabokie <xy.tao@outlook.com> Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
Extend the interface to pass in a hint of physical path.