Skip to content

Conversation

@rustybee42
Copy link
Collaborator

@rustybee42 rustybee42 commented Sep 10, 2025

Related to #21

Merge together with ThinkParQ/beegfs-go#249 or ctl will crash if there are unmapped targets.

@rustybee42 rustybee42 self-assigned this Sep 10, 2025
@rustybee42 rustybee42 marked this pull request as ready for review September 18, 2025 09:16
@rustybee42 rustybee42 requested a review from a team as a code owner September 18, 2025 09:16
@rustybee42 rustybee42 force-pushed the rb/unmapped-targets branch from d31ad32 to 3fc3976 Compare October 1, 2025 13:17
@iamjoemccormick iamjoemccormick linked an issue Oct 20, 2025 that may be closed by this pull request
Copy link
Member

Choose a reason for hiding this comment

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

suggestion(blocking): it is unfortunate a DB migration is required for this change. So we can at least eliminate the upgrade pain for users (most who are unaffected by this particular change), what do you think about automatically applying minor DB schema updates when needed?

We could introduce a new option for this (e.g., --upgrade=auto) so it is opt in. This would be particularly helpful for environments that use tools like Ansible for automated deployments/upgrades to avoid requiring post-upgrade steps for specific minor releases.

Blocking not because we need to introduce any automatic migration in this PR, but because I want to discuss how we want to generally handle database upgrades in minor releases before we merge our first DB schema update.

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.

Allow beegfs target commands to act on unmapped targets

3 participants