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

feat(db): optimize RocksDB's data backup function #5757

Closed
wants to merge 1 commit into from

Conversation

halibobo1205
Copy link
Contributor

close #5698.

@halibobo1205 halibobo1205 added this to the GreatVoyage-v4.7.5 milestone Mar 11, 2024
@halibobo1205 halibobo1205 force-pushed the feat/rocksdb_backup_opt branch 2 times, most recently from 8265e6b to 270deef Compare March 12, 2024 03:56
@@ -115,8 +115,7 @@ public synchronized void close() {
@Override
public synchronized void reset() {
head().reset();
head().close();
head = head.getRoot().newInstance();
head = head.getRoot();
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the purpose of the change here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Avoid closing databases that need to be backed up:
image

Copy link
Contributor

Choose a reason for hiding this comment

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

could you give more detailed descriptions about this change in the PR? cuz I can not know the reason why should make this change through issue

@halibobo1205
Copy link
Contributor Author

No change plan for now.

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.

Optimize RocksDB's backup function
3 participants