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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to cleanup files when opening RocksDb as Secondary #3514

Open
greymistcube opened this issue Nov 23, 2023 · 0 comments
Open

Provide a way to cleanup files when opening RocksDb as Secondary #3514

greymistcube opened this issue Nov 23, 2023 · 0 comments

Comments

@greymistcube
Copy link
Contributor

As currently implemented, whenever a RocksDb instance is opened as Secondary, this leaves a new log file inside a randomly generated directory. This should be dealt with somehow. 馃槓

There are few things to consider:

  • Would it be okay to remove artifacts associated with a RocksDb instance immediately after its disposal? In this case, we would lose access to the log file.
  • On the other hand, if we don't remove any artifacts, depending on how often RocksDb would be opened as Secondary, the root directory structure along with its size may grow uncontrollably.
  • One approach would be to systematically clean the folder from the application side.
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

No branches or pull requests

1 participant