Commit Graph

87 Commits

Author SHA1 Message Date
Aaron Son
c1fedfc457 go/libraries/doltcore/sqle: dprocedures: dolt_branch: Make dolt branch operations (and some related operations, like dolt checkout) able to block on cluster replication. 2023-05-15 14:00:04 -07:00
Aaron Son
af966fa9fd Add ReplicationStatusController out parameter to some DoltDB write methods. 2023-05-12 16:13:15 -07:00
Neil Macneale IV
2dd8ad68f9 Update Go tests to use CliContext with an SqlEngine 2023-05-05 11:46:47 -07:00
Neil Macneale IV
213de8c5cb More test fixes with CliContext 2023-04-26 13:39:04 -07:00
Neil Macneale IV
a6d02445fe Add the CliContext parameter to Command.Exec (#5779)
Related to: https://github.com/dolthub/dolt/issues/3922
2023-04-20 14:54:30 -07:00
Maximilian Hoffman
af4d8eeaba Lookup int out of range error (#5690)
* Fix lookup type error

* reset old file

* bump GMS

* update to GMS bump

* get updates

* bump

* bump

* syntax error

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* tidy

* go-sql-server tidy

* unnecessary test

* fix int_test

* bump

* bump

* skip ld convert

* ld enginetests

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-04-07 17:11:14 -07:00
Andy Arthur
e2abd51a43 go: fix db close semantics in integration tests 2023-03-27 16:57:34 -07:00
Andy Arthur
19796c1512 go/doltcore/migrate: fix env bootstrap 2023-03-06 19:59:58 -08:00
Andy Arthur
a89787cfac go/doltcore/migrate: modify migrated tuples sink to sort incoming tuples 2023-03-01 14:11:59 -08:00
Maximilian Hoffman
db5c420020 [no-release-notes] SIGINT gracefully shuts down merge (#5426)
* [no-release-notes] SIGINT gracefully shuts down merge

del

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* aaron's comments

* another aaron comment

* dont reuse ctx in migrate

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-02-24 14:39:04 -08:00
Andy Arthur
b875ffaecf go/{doltcore/migrate,bats}: update tests with new branch, table names 2023-02-22 09:44:13 -08:00
Andy Arthur
cb961d642e go/doltcore/migrate: pr feedback 2023-02-21 16:05:58 -08:00
Andy Arthur
ec4ee82a70 go/doltcore/migrate: write table for migrated commit mapping 2023-02-14 17:22:04 -08:00
Zach Musgrave
e77ae77452 Changed types2 import alias to gmstypes everywhere 2023-01-24 11:53:44 -08:00
Zach Musgrave
d29fbe8da6 Moved string type 2023-01-23 17:16:00 -08:00
Zach Musgrave
ad4bf92b95 Dolt changes for sql types package 2023-01-09 11:21:34 -08:00
Zach Musgrave
5f5dae3ccf Squash merge from zachmu/session-transaction to get rid of spurious test files 2022-12-21 13:12:31 -08:00
Dhruv Sringari
cbea3a205d Fix working set not found error for dolt migrate
In dolt versions <= 0.26.10, a working set was not created when a branch was created.
In newer dolt versions it is created. Migrate expected a working set to exist for every branch ref.

Now, if a working set is missing we pretend it exists.
2022-12-12 13:26:34 -08:00
JCPrice0024
039a8b0815 found minor bug in validate.go 2022-12-05 14:05:31 -05:00
Dhruv Sringari
b87a192a83 fix migration integration test 2022-11-28 13:54:12 -08:00
Dhruv Sringari
ccf8c10f61 Changes to schema instantiation 2022-11-28 13:25:33 -08:00
Dhruv Sringari
48df05c476 Merge pull request #4846 from dolthub/dhruv/migrate-pk-ordinal-changes
Schemas with different PK ordinals should not be equal.
2022-11-22 13:49:47 -08:00
Dhruv Sringari
30025a0dc8 Schemas with different PK ordinals should not be equal. 2022-11-22 12:10:27 -08:00
Maximilian Hoffman
fc46082dcf Blob chunker rewrite (#4825)
* Fix mising projection on indexed table

* add test

* rewrite

* cleanup

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* blob test

* Fix tests

* node arena

* delete stale

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* docs

* more cleanup

* add newline

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* aaron's rewrite

* benchmarks

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* concurrency safe blob builder

* fmt

* pointer to pool

* test nodeStore edits

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-11-21 15:46:17 -08:00
Andy Arthur
70ba2d2be9 fix migration integration tests 2022-11-17 12:40:51 -08:00
Andy Arthur
69465f0858 go/doltcore/migrate: added --drop-conflicts flag to migration, check for migrated databases 2022-11-17 11:13:18 -08:00
Andy Arthur
f2b029d6a8 fix migration datetime bug 2022-11-14 12:51:39 -08:00
James Cor
795a81e047 adding index prefix lengths in creation instead of setting 2022-11-10 12:37:02 -08:00
Zach Musgrave
7b2a0c3c7b Removing more testing.T 2022-11-02 15:37:37 -07:00
Dhruv Sringari
8ca1183110 Handle removed tables in //.../doltcore/migrate (#4647)
* handle removed tables in //.../doltcore/migrate

* fix migration-integration.bats

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-10-27 19:25:29 -07:00
AndyA
50bf3dbb5d Merge pull request #4631 from dolthub/andy/migration-patch-pk-ordinals
go/doltcore/schema: Set primary key ordinals on schema migration
2022-10-26 13:19:23 -07:00
Dhruv Sringari
a787f5baff validate ws migration, skip table validation if table did not change (#4630) 2022-10-26 13:07:40 -07:00
Andy Arthur
75c6eb5fcc go/doltcore/schema: Set primary key ordinals on schema migration 2022-10-26 11:39:21 -07:00
Andy Arthur
b82ef7aabc account for types.BoolKind in very old databases 2022-10-25 16:53:07 -07:00
Andy Arthur
6a0bc4d28a use binary collation for BINARY, VARBINARY, and BLOB 2022-10-24 14:09:35 -07:00
Andy Arthur
a0c0f24e79 go/doltcore/migrate: patch schemas to use utf8mb4_0900_bin to match existing index order 2022-10-24 13:27:39 -07:00
James Cor
cfc33a675f asdf 2022-10-16 22:23:18 -07:00
James Cor
9e3848d6f1 migrate 2022-10-12 23:49:18 -07:00
James Cor
961e0c416f adding to tuples and validation 2022-10-11 15:23:08 -07:00
James Cor
428d1e0ac1 putting multipoint everywhere 2022-10-06 16:10:08 -07:00
James Cor
edc83749e9 i have a refactoring addiction 2022-10-06 15:53:31 -07:00
Dhruv Sringari
46ec892d69 persist a commit mapping to the chunkstore after migration (#4458)
The commit mapping is persisted as dangling chunks. We don't expect it to remain after a GC and it will not be picked up during a push or pull.
2022-10-04 17:44:51 -07:00
Andy Arthur
b48df04c76 refactoring tests in preparation for format flip 2022-09-28 15:32:43 -07:00
Andy Arthur
5f39950d8a go/doltcore/migrate: migrate oldgen manifest in dolt migrate 2022-08-31 16:03:47 -07:00
Andy Arthur
d2bf21656a fix race on err write, only run migration tests for __LD_1__ 2022-08-24 09:28:59 -07:00
Andy Arthur
41a00a47e9 added integration test for TEXT, BLOB coersion 2022-08-23 18:13:46 -07:00
Andy Arthur
7e92878989 added integration tests for migration, schema 2022-08-23 17:34:02 -07:00
Andy Arthur
249b84e262 first pass at TEXT/BLOB -> VARCHAR/VARBINARY conversion 2022-08-23 17:34:02 -07:00
Aaron Son
e16975e50c Merge remote-tracking branch 'origin/main' into aaron/fb-error-on-new-fields 2022-08-16 12:06:40 -07:00
Aaron Son
7906c9e98f go/{store,libraries,gen}: Adopt new flatc, throw an error if we encounter unknown fields. 2022-08-16 11:57:14 -07:00