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

add pebble version check #127

Merged
merged 5 commits into from
Feb 20, 2024
Merged

add pebble version check #127

merged 5 commits into from
Feb 20, 2024

Conversation

poonai
Copy link
Collaborator

@poonai poonai commented Feb 19, 2024

closes: #124

@poonai poonai requested a review from marino39 February 19, 2024 06:25
Copy link
Collaborator

@marino39 marino39 left a comment

Choose a reason for hiding this comment

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

One small comment otherwise it LGTM.

bond.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@marino39 marino39 left a comment

Choose a reason for hiding this comment

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

One more minor comment, otherwise LGTM.

bond.go Outdated Show resolved Hide resolved
@pkieltyka
Copy link
Contributor

very helpful.

what should we do in cases when we want for bond to proceed to open..?

@poonai
Copy link
Collaborator Author

poonai commented Feb 19, 2024

@pkieltyka we have migration framework planned for that.

#126

@marino39
Copy link
Collaborator

BTW: @poonai I forgot that the ticket also mentioned implementing the pebble format migration mechanism. Please do that in this ticket too.

Copy link
Collaborator

@marino39 marino39 left a comment

Choose a reason for hiding this comment

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

Please apply one last comment and merge the PR.

bond.go Outdated
}
}

pebbelVersionPath := filepath.Join(bondPath, "PEBBLE_FORMAT_VERSION")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use const for bond and PEBBLE_FORMAT_VERSION. It just makes any changes easier by just editing the const.

@poonai poonai merged commit ce80f55 into master Feb 20, 2024
1 check passed
@poonai poonai deleted the poonai/version_check branch February 20, 2024 09:57
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.

Prevent unintended pebble format updates
3 participants