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

fix renaming encrypted directory and check compaction paused during checkpoint #338

Merged
merged 7 commits into from
Jul 7, 2023

Conversation

tabokie
Copy link
Member

@tabokie tabokie commented May 26, 2023

Extend the interface to pass in a hint of physical path.

Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
…ypt-rename

Signed-off-by: tabokie <xy.tao@outlook.com>
Copy link
Member

@overvenus overvenus left a 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

encryption/encryption.cc Show resolved Hide resolved
include/rocksdb/encryption.h Show resolved Hide resolved
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie tabokie changed the title fix renaming encrypted directory fix renaming encrypted directory and check compaction paused during checkpoint Jul 4, 2023
Copy link
Member

@overvenus overvenus left a comment

Choose a reason for hiding this comment

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

Rest LGTM

Comment on lines 313 to 315
auto opts = ROCKSDB_NAMESPACE::FlushOptions();
opts.check_if_compaction_disabled = true;
s = db_->Flush(opts, handle);
Copy link
Member

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?

@tabokie
Copy link
Member Author

tabokie commented Jul 7, 2023

/run-test

Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie tabokie merged commit 14f36f8 into tikv:6.29.tikv Jul 7, 2023
2 checks passed
@tabokie tabokie deleted the encrypt-rename branch July 7, 2023 08:25
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request May 29, 2024
…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>
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request Oct 2, 2024
…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>
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request Oct 2, 2024
…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>
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.

3 participants