You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5621: Correctly handle merging of staged changes across concurrent sessions
Fixes #5608
5617: go/libraries/doltcore/sqle/cluster: Improve the robustness of graceful transitions to standby role.
Some subtle races could cause graceful transitions to fail when they could have succeeded or could cause replication to block for a long time while the attempt to transition was ongoing.
5611: Bug fixes for branch deletion edge cases
While debugging a customer issue, I found a few edge cases around deleting branches to fix:
the sql-server.lock file wasn't getting created when creating the first database for a sql-server (i.e. when running the sql-server from a bare, non-init'ed directory).
dolt checkout on the CLI was exiting too early if it couldn't find its working set and not actually checking anything out, but returning a success error code. This meant customers couldn't use the CLI to recover from a deleted default branch. We did have a test for this, but it wasn't testing thoroughly enough and only looked for a success return code from dolt checkout.
dolt branch -d (from SQL or CLI) should not allow you to delete the repo's default branch. This is how the customer got their database into a bad state with out a default branch.
a couple tests in deleted-branches.bats were skipped; I removed the skips and confirmed they pass.
These fixes will help prevent customers from getting into this state and ensure they can fix a deleted default branch using the dolt CLI. It would be ideal to continue on this thread and also make dolt_checkout() work in sql-server with the default branch is invalid, but I think that's best handled as a follow up PR.
5567: adds the dolt_column_diff system table
This change adds a new system table, dolt_column_diff which lists the tables and columns changed in every commit reachable from the active branch’s HEAD.
fixes: #5254
go-mysql-server
1675: SET multiple system variables including 'NAMES' and 'CHARSET'
1666: join operator hints
Join order (JOIN_ORDER(a,b)) and operator hints (LOOKUP_JOIN(a,b)) play nice together when there is a plan that satisfies all hints. If order and operator hints are are incompatible, no hints are applied.
Example: