Commit Graph

26937 Commits

Author SHA1 Message Date
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
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
James Cor
77b406fc9c test bump (#9397)
Co-authored-by: James Cor <james@dolthub.com>
2025-06-25 15:01:09 -07:00
Neil Macneale IV
a90508a76b PR Feedback for fmt.Errorf 2025-06-25 14:51:22 -07:00
Tim Sehn
7c3542a8ca Merge pull request #9361 from dolthub/tim/history-tables-dolt-schemas
Implemented `dolt_history_dolt_schemas` and `dolt_diff_dolt_schemas`
2025-06-25 10:52:35 -07:00
timsehn
2510316f95 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-25 17:15:07 +00:00
Elian
e43ad09636 Merge pull request #9393 from dolthub/elianddb/fix-483-unable-to-checkout-table-branch
Fixes #483
Removed extra bats test
2025-06-25 10:14:50 -07:00
Tim Sehn
6cae5ef853 Merge branch 'tim/history-tables-dolt-schemas' of github.com:dolthub/dolt into tim/history-tables-dolt-schemas 2025-06-25 10:06:52 -07:00
Tim Sehn
186dc75c23 Addressed constants feedback. Made a number of new constants and used them 2025-06-25 10:06:42 -07:00
Elian
05843c704c rm already covered bats 2025-06-25 09:47:17 -07:00
Elian
af8a3f728a Merge pull request #9371 from dolthub/elianddb/fix-483-unable-to-checkout-table-branch
Fixes: #483
Local/remote refs take priority in Do What I Mean (DWIM) scenarios where dolt has to interpret ambiguous input in checkout.
If a table and tracking branch share the same name, but local does not exist an error will occur.
-- can now be used to clear up ambiguity.
case 1: dolt checkout <ref> -- [<tables>]
<ref> must be a singular valid tree, everything else after '--' must be a table.
case 2: dolt checkout -- [<tables>]
This is case 1 but without <ref>.
case 3: git checkout <something> [--]
(a) If is a commit switch to branch.
(b) If isn’t a commit, and either "--" is present or isn’t a table, no -t or -b is given, and there’s a tracking branch named on exactly one remote (or on the specified remote), then this acts as shorthand to fork local from that remote-tracking branch.
(c) Otherwise, if "--" is present, treat it like case 1.
(d) Otherwise, if a ref treat it like case 1. If a table treat like case 2. If neither fail.
case 4: git checkout <something> <tables>
The first argument must not be ambiguous. If a <ref> follow case 1, if a table follow case 2. Otherwise, fail.
2025-06-25 09:06:01 -07:00
elianddb
852f6523a5 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-25 15:25:27 +00:00
Elian
cd81f2f2fc mv query test to dolt_queries.go, add conditional for harness UseLocalFileSystem() 2025-06-24 14:07:33 -07:00
Elian
2786c2a224 add mkdir tmp 2025-06-24 14:07:33 -07:00
Elian
b585448447 add ambiguity test inside of test func 2025-06-24 14:07:33 -07:00
Elian
71fa8d6faa use file:/// for doltgres 2025-06-24 14:07:33 -07:00
Elian
53595f405a add local file system flag 2025-06-24 14:07:33 -07:00
Elian
16998d615b fix err msg on missing table(s) 2025-06-24 14:07:33 -07:00
Elian
554e12f0a0 restore tablesFromHead func 2025-06-24 14:07:33 -07:00
Elian
98412e13f5 rm loose string 2025-06-24 14:07:33 -07:00
Elian
9fb02aa861 clarify existence bools 2025-06-24 14:07:33 -07:00
Elian
b244dfe7ac fix err check and multi remote branch test 2025-06-24 14:07:33 -07:00
Elian
631de0075e rm isBranch check in checkout func for existing with fallback 2025-06-24 14:07:33 -07:00
Elian
0a6ce282ff add test for multiple matching branch names 2025-06-24 14:07:33 -07:00
Elian
174b693507 amend rsc to ptr type 2025-06-24 14:07:33 -07:00
Elian
895fae3c4f rm use of ResetHard when firstArg = '.' to rm transaction implications 2025-06-24 14:07:33 -07:00
Elian
0392dbd60b amend validate detached head func 2025-06-24 14:07:33 -07:00
Elian
215fa309e6 add dolt queries test 2025-06-24 14:07:33 -07:00
Elian
7492650c4a rm debug echo 2025-06-24 14:07:32 -07:00
Elian
dc514c3fe4 rm branch deletion (branch never existed) 2025-06-24 14:07:32 -07:00
Elian
89c109c40f amend to mark valid remoteRefs >= 1 2025-06-24 14:07:32 -07:00
Elian
6d03674dfc fix non-regex cmp 2025-06-24 14:07:32 -07:00
Elian
db81cea3b0 fix remotes bats test 2025-06-24 14:07:32 -07:00