Skip to content

fix(dbtool): fix drop column family command #2265

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

Merged
merged 2 commits into from
Jul 3, 2025

Conversation

mlegner
Copy link
Contributor

@mlegner mlegner commented Jul 1, 2025

Description

Previously, the walrus-node db-tool drop-column-family command failed with the following error:

Error: Invalid argument: Column families not opened:

Apparently it is necessary to open all column families (rust-rocksdb/rust-rocksdb#608). With this PR, we make sure to open all column families. Also, it allows passing multiple CF names to the command.

Test plan

  • Manual testing.

@mlegner mlegner requested a review from liquid-helium July 1, 2025 11:37
@mlegner mlegner self-assigned this Jul 1, 2025
@mlegner mlegner marked this pull request as draft July 1, 2025 15:22
@mlegner
Copy link
Contributor Author

mlegner commented Jul 1, 2025

@liquid-helium Please disregard for now, this doesn't actually fix the problem.

@mlegner mlegner marked this pull request as ready for review July 1, 2025 16:01
Copy link
Contributor

@liquid-helium liquid-helium left a comment

Choose a reason for hiding this comment

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

Thanks @mlegner for the changes, looks good to me, only one comment.

@mlegner mlegner force-pushed the mlegner/fix-db-tool-drop-column-family branch from 7206183 to 7af5465 Compare July 2, 2025 14:32
@mlegner mlegner enabled auto-merge (squash) July 2, 2025 14:33
@mlegner mlegner force-pushed the mlegner/fix-db-tool-drop-column-family branch from 7af5465 to e886667 Compare July 2, 2025 15:02
@mlegner mlegner merged commit fd0b8a9 into main Jul 3, 2025
25 checks passed
@mlegner mlegner deleted the mlegner/fix-db-tool-drop-column-family branch July 3, 2025 07:13
halfprice added a commit that referenced this pull request Jul 12, 2025
* fix(dbtool): fix drop column family command (#2265)

* bump to 1.28.4

---------

Co-authored-by: Markus Legner <[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.

2 participants