Commit Graph

13 Commits

Author SHA1 Message Date
Aaron Son 6c5c03dffe integration-tests/bats: Small bats tests improvements for the lambda runner. 2023-12-05 15:14:00 -08:00
James Cor 6bb7fe5b83 updating regression test to not use varchar prefix 2022-11-04 10:15:39 -07:00
Maximilian Hoffman 5a6e20b6c7 Index lookup refactor (#4162)
* progress

* building

* fix history table and fk issuesg

* remove point lookup code

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

* tidy

* prollyFkIndexer pointer receiver

* GMS updates

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

* missing feedback

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-08-22 16:36:37 -07:00
Dhruv Sringari 46b784c78f Make unique key errors more consistent and fix unique key bats for new format (#3838)
* make unique key errors more consistent and fix bats for new format


unskip already working bats

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

* copyright

* pr comments

* fix gms

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

* fix

* change BulkImportTEA to perform a no-op on RollBack instead of erroring

New machinery in GMS to support INSERT IGNORE on unique keys calls RollBack if a duplicate key error is thrown. This includes primary key collisions as well. The machinery was added since the new format does not have machinery to automatically rollback secondary index updates when an error occurs during the primary index update. 

In the old format, we do have machinery to automatically rollback secondary index updates, so we can leave Rollback as a no-op in this case. Any primary key collision will return an error, causing the secondary indexes to undo their edits.

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-18 11:49:26 -07:00
Maximilian Hoffman ac80ba7770 New format blobs (#3588)
* [no-release-notes] New format blob read/write

Use blob chunker to write blobs out of band. Tests for
round tripping and address walking at the tree level.
Run Blob enginetests and extra large file blob tests.

* NodeStore ref refactors

* fix index

* run verify

* fix more bats

* small PR cleanup

* more changes

* last bats errors
2022-06-22 18:02:48 -07:00
Andy Arthur 01587c8c20 more BATS skips for __DOLT_1__ 2022-05-10 14:08:47 -07:00
Daylon Wilkins 49e451cb82 Fixed VRW reference issues 2021-09-13 11:16:40 -07:00
Brian Hendriks 610c192b24 Daylon/oom (#1702) 2021-05-13 11:53:19 -07:00
Daylon Wilkins c18f1b26a0 Fixed occasional panic from nil VRW on BLOB pks 2021-05-10 03:05:31 -07:00
Daylon Wilkins f0392f4d33 Fixed UNIQUE index violations causing duplicate key errors 2021-04-13 10:31:12 -07:00
Daylon Wilkins 75e69ee5e7 Fixed TINYBLOB errors with specific inputs 2021-04-13 10:30:45 -07:00
Daylon Wilkins b6d5a917bf Fixed some VARBINARY strings reading their length incorrectly 2021-04-09 01:53:04 -07:00
Dustin Brown 61b06450b1 /integration-tests: move bats 2021-03-15 14:04:40 -07:00