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.

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 <[email protected]>
@tabokie tabokie requested review from overvenus and tonyxuqqi June 27, 2023 02:20
Signed-off-by: tabokie <[email protected]>
@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 <[email protected]>
@tabokie tabokie merged commit 14f36f8 into tikv:6.29.tikv Jul 7, 2023
@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 <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* patch test manager

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* check compaction paused during checkpoint

Signed-off-by: tabokie <[email protected]>

* add comment

Signed-off-by: tabokie <[email protected]>

---------

Signed-off-by: tabokie <[email protected]>
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 <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* patch test manager

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* check compaction paused during checkpoint

Signed-off-by: tabokie <[email protected]>

* add comment

Signed-off-by: tabokie <[email protected]>

---------

Signed-off-by: tabokie <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
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 <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* patch test manager

Signed-off-by: tabokie <[email protected]>

* fix build

Signed-off-by: tabokie <[email protected]>

* check compaction paused during checkpoint

Signed-off-by: tabokie <[email protected]>

* add comment

Signed-off-by: tabokie <[email protected]>

---------

Signed-off-by: tabokie <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
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