Skip to content

Initialize a branch's working set when referenced as a branch-revision database#9668

Merged
fulghum merged 1 commit intomainfrom
fulghum/ws-init
Aug 12, 2025
Merged

Initialize a branch's working set when referenced as a branch-revision database#9668
fulghum merged 1 commit intomainfrom
fulghum/ws-init

Conversation

@fulghum
Copy link
Contributor

@fulghum fulghum commented Aug 12, 2025

When a new branch is pushed to a SQL server through the RemotesAPI, that branch will not have its working set initialized yet. If a customer accesses that branch as a branch-revision database (e.g. mydb/my_new_branch) and performs a write operation, the lack of a working set will cause an error. This change fixes that case by initializing a branch-revision database's working set if it has not been created yet.

@coffeegoddd
Copy link
Contributor

@fulghum DOLT

comparing_percentages
100.000000 to 100.000000
version result total
92222d9 ok 5937457
version total_tests
92222d9 5937457
correctness_percentage
100.0

Copy link
Contributor

@jycor jycor left a comment

Choose a reason for hiding this comment

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

LGTM

@fulghum fulghum merged commit ba23dab into main Aug 12, 2025
34 of 35 checks passed
@fulghum fulghum deleted the fulghum/ws-init branch August 12, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants