Commit Graph

26978 Commits

Author SHA1 Message Date
angelamayxie
7c16477b63 Merge pull request #9420 from dolthub/angelamayxie-635d803f
[auto-bump] [no-release-notes] dependency by angelamayxie
2025-06-30 11:11:00 -07:00
angelamayxie
c15c810151 [ga-bump-dep] Bump dependency in Dolt by angelamayxie 2025-06-30 16:12:43 +00:00
Nathan Gabrielson
8d3dcb92ed Merge pull request #9398 from dolthub/nathan/remove
dolt_rm stored procedure
2025-06-27 16:06:11 -07:00
Neil Macneale IV
cbc5c9ecf2 Merge pull request #9389 from dolthub/macneale4/better-archive-cmd
Archive cmd improvements
2025-06-27 14:32:43 -07:00
Nathan Gabrielson
51c4d71af2 Small & (hopefully) last fixes 2025-06-27 14:29:27 -07:00
Neil Macneale IV
588b7904a0 PR Feedback: Use error group for parrallel compression 2025-06-27 13:29:10 -07:00
Neil Macneale IV
52ec75bb88 Merge pull request #9405 from dolthub/macneale4/archive-suffix-overflow
Don't overflow on suffix buffer allocation
2025-06-27 13:00:35 -07:00
angelamayxie
72d76418d7 Merge pull request #9408 from dolthub/angelamayxie-064b8245
[auto-bump] [no-release-notes] dependency by angelamayxie
2025-06-27 12:44:42 -07:00
angelamayxie
5056a9f134 [ga-bump-dep] Bump dependency in Dolt by angelamayxie 2025-06-27 19:03:05 +00:00
Neil Macneale IV
3b65d627cb PR Feedback: no spin wait 2025-06-27 11:48:32 -07:00
NathanGabrielson
f515cefdba [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-27 18:19:16 +00:00
Nathan Gabrielson
47cacd79b3 More tests, better FK handling 2025-06-27 11:11:00 -07:00
Nathan Gabrielson
97b6a84092 Neil changes + many edge cases 2025-06-27 11:11:00 -07:00
NathanGabrielson
ac820ba945 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-27 11:11:00 -07:00
Nathan Gabrielson
220e9a123d working basic dolt rm procedure 2025-06-27 11:11:00 -07:00
Nathan Gabrielson
8063ad830b First rm stuff 2025-06-27 11:11:00 -07:00
Neil Macneale IV
1196495b4b Don't overflow on suffix buffer allocation 2025-06-27 11:05:40 -07:00
Jason Fulghum
a7bbe9b377 Merge pull request #9406 from dolthub/fulghum/fix-it
[no-release-notes] Fix merge errors
2025-06-27 10:58:16 -07:00
Jason Fulghum
20c5da65c4 Fixing merge error 2025-06-27 10:19:34 -07:00
Jason Fulghum
414b37bce6 Removing duplicate struct definition 2025-06-27 10:07:59 -07:00
Neil Macneale IV
48d33b493a Don't attempt to reuse dead table files during revert becasue we don't know how many chunks they have 2025-06-26 17:58:58 -07:00
Neil Macneale IV
8646e2695d PR Feedback: check journal file earlier 2025-06-26 17:45:01 -07:00
Elian
629d0c6a96 Merge pull request #9402 from dolthub/elianddb/fix-9390-max1Row-itr-gt-1-ret
Fixes #9391
Add dolt_commit_ancestors table query test
2025-06-26 12:07:38 -07:00
Tim Sehn
f33fd3e14d Merge pull request #9396 from dolthub/tim/dolt_diff_dolt_procedures
Implement `dolt_diff_dolt_procedures`
2025-06-26 12:06:34 -07:00
Tim Sehn
4cf3b08a29 Merge branch 'main' into tim/dolt_diff_dolt_procedures 2025-06-26 12:06:26 -07:00
Tim Sehn
a4be2be571 Merge pull request #9395 from dolthub/tim/dolt_history_dolt_procedures
Implement `dolt_history_dolt_procedures`
2025-06-26 12:05:46 -07:00
Neil Macneale IV
282698a3ae Merge pull request #9401 from dolthub/macneale4-claude/issue-8039
Renaming default branch results in updating local config.
2025-06-26 11:12:21 -07:00
Elian
211f6555fa add msg check 2025-06-26 11:09:38 -07:00
Elian
789030cec4 add dolt_commit_ancestors query test 2025-06-26 11:00:29 -07:00
Neil Macneale IV
6f8ea362ef Update archive --revert to handle newgen archive files 2025-06-26 10:49:03 -07:00
Neil Macneale IV
0e6fc64ce0 Drain all progress messages before terminating archive cmd 2025-06-26 10:49:03 -07:00
Neil Macneale IV
fa03ae2d0a Make archive less strict on chunk counts becasue of duplicate chunks in table files 2025-06-26 10:49:03 -07:00
Neil Macneale IV
e205655c5c Test update for new archive behavior
exit status 0 makes sense when there is nothing to do
2025-06-26 10:49:03 -07:00
Neil Macneale IV
4301f2adff Update bats tests for newgen archive support 2025-06-26 10:48:59 -07:00
Neil Macneale IV
07d09dfdae Print the TableFile name to convert while archiving 2025-06-26 10:46:51 -07:00
Neil Macneale IV
8b48b472a1 Allocate a buffer and copy compressed chunk rather
Otherwise the compression buffer will get stomped on before the results channel is consumed
2025-06-26 10:46:51 -07:00
Neil Macneale IV
21d8828eb5 fan out on compression work 2025-06-26 10:46:51 -07:00
Neil Macneale IV
0160615d7d expect the source set to switch out from under us when we swapTables 2025-06-26 10:46:51 -07:00
Neil Macneale IV
b1e2b92776 Avoid having the blockstore swap out from under us with a callback 2025-06-26 10:46:51 -07:00
Neil Macneale IV
d290a9f462 Refactor archive to convert all table files incrementally
By all table files, I mean both newgen and oldgen.
2025-06-26 10:46:51 -07:00
Neil Macneale IV
a8da9839a8 Merge pull request #9387 from dolthub/macneale4/archive-3
archive format 3. Supporting larger indexes
2025-06-26 10:30:14 -07:00
Elian
5e8f0f334e Merge pull request #9400 from dolthub/elianddb/fix-9390-max1Row-itr-gt-1-ret
Fixes #9390
Fixes #9391
Dolt history table indexes are never marked as unique, regardless of the underlying table’s index properties: prevents unique constraints from being incorrectly reported or exported for history tables
2025-06-26 10:02:40 -07:00
Neil Macneale IV
54e985e4c9 Fix init.defaultbranch config sync when renaming default branch
Update the dolt_branch stored procedure to automatically update the
init.defaultbranch configuration when renaming the default branch.

The fix checks if the branch being renamed matches the current
init.defaultbranch config value, and if so, updates it to the new
branch name. This ensures configuration stays synchronized when the
default branch is renamed via SQL.

Only affects the config when renaming the actual default branch -
renaming other branches leaves the configuration unchanged.

Fixes: https://github.com/dolthub/dolt/issues/8039

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-26 16:54:47 +00:00
Neil Macneale IV
db767c8aae Add tests for branch rename configuration synchronization
Add two bats tests to demonstrate and verify behavior of init.defaultbranch
configuration when renaming branches:

1. Test that renaming the default branch should update init.defaultbranch config
   (currently fails, demonstrating https://github.com/dolthub/dolt/issues/8039)
2. Test that renaming a non-default branch should not affect init.defaultbranch config
   (passes, showing correct behavior for non-default branches)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-26 16:43:26 +00:00
Aaron Son
62c04e7893 Merge pull request #9399 from dolthub/aaron/remotestorage-refresh-url-fix
go/libraries/doltcore/remotestorage: chunk_store.go: Fix a bug where we did not refresh expired table file URLs appropriately.
2025-06-25 19:43:34 -07:00
Elian
e2a4d1fb9a fix misplaced commas 2025-06-25 18:02:01 -07:00
Elian
b1e631fb4b add test for max1row err 2025-06-25 17:27:41 -07:00
Elian
92dad9cc3c mark non-unique indices 2025-06-25 17:27:41 -07:00
Aaron Son
dc23af78af go/libraries/doltcore/remotestorage: chunk_store.go: Fix a bug where we did not refresh expired table file URLs appropriately. 2025-06-25 16:29:23 -07:00
coffeegoddd
cadf01b6c1 [ga-bump-release] Update Dolt version to 1.55.3 and release v1.55.3 v1.55.3 2025-06-25 22:59:05 +00:00