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

go/doltcore/env: Fix format logic for multi-database environments #4492

Merged
merged 5 commits into from Oct 7, 2022

Conversation

andy-wm-arthur
Copy link
Contributor

No description provided.

Copy link
Contributor

@druvv druvv left a comment

Choose a reason for hiding this comment

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

LGTM

// enforceSingleFormat enforces that constraint that all databases in
// a multi-database environment have the same NomsBinFormat.
// Databases are removed from the MultiRepoEnv to ensure this is true.
func enforceSingleFormat(envSet map[string]*DoltEnv) {
Copy link
Contributor

Choose a reason for hiding this comment

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

add a bats for this behavior please, someone is definitely going to touch this area again and break something...

@andy-wm-arthur andy-wm-arthur merged commit 464d0e2 into main Oct 7, 2022
@Hydrocharged Hydrocharged deleted the andy/fix-multi-repo-load branch October 13, 2022 12:44
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.

None yet

2 participants