Commit Graph

10146 Commits

Author SHA1 Message Date
reltuk
f45ef2091d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-27 22:53:40 +00:00
Aaron Son
87d0f702f5 go/libraries/doltcore/sqle/dsess: Further rework sql database initialization to allow revision specifiers to work when @@GLOBAL.dolt_default_branch specifies a non-existant branch. 2021-10-27 15:52:18 -07:00
Aaron Son
0e907557fc go/libraries/doltcore/sqle: Rework InitialDbState to allow for revision specifiers to continue to work after the default branch is deleted. 2021-10-27 12:08:50 -07:00
Aaron Son
9e77f1cd13 go/libraries/doltcore/env/actions: branch.go: Fix dolt checkout so it works even if the currently checked out branch does not exist. 2021-10-27 11:09:54 -07:00
reltuk
dad1ea3b14 [ga-bump-release] Update Dolt version to 0.32.1 and release v0.32.1 v0.32.1 2021-10-26 00:13:58 +00:00
Aaron Son
1cadc76aaf Merge pull request #2290 from dolthub/reltuk-be5218fa
[auto-bump] [no-release-notes] dependency by reltuk
2021-10-25 17:11:26 -07:00
reltuk
3e618727ae [ga-bump-dep] Bump dependency in Dolt by reltuk 2021-10-25 23:43:18 +00:00
reltuk
90d1893349 [ga-bump-release] Update Dolt version to 0.32.0 and release v0.32.0 v0.32.0 2021-10-22 19:05:35 +00:00
Taylor Bantle
bf697ac661 Merge pull request #2280 from dolthub/taylor/force-create-bats
[no-release-notes] Add skipped bats for overwriting a table with foreign key constraints
2021-10-22 11:48:33 -07:00
Aaron Son
2827e6dd56 Merge pull request #2278 from dolthub/aaron/async-sorted-edits-must-be-stable
go/store/types/edits: Changes to ensure AsyncSortedEdits always returned edits in stable order based on how they were added.
2021-10-22 11:45:41 -07:00
Taylor Bantle
3315fa18f3 Only check for foreign key 2021-10-22 11:13:19 -07:00
Aaron Son
cd8695c528 integration-tests/bats: large-update.bats: Add a test to assert large SQL updates do not drop rows. 2021-10-22 11:12:39 -07:00
Taylor Bantle
bd92d6c9e3 Add check for foreign key constraint in new schema 2021-10-22 11:05:46 -07:00
Brian Hendriks
d11d3fdde3 comment for clarity 2021-10-22 10:02:35 -07:00
reltuk
5268bc9c45 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-22 13:54:23 +00:00
Aaron Son
71e11e5986 go/libraries/doltcore/table/editor: Adds a test for committedEP handling in table_edit_accumulator. 2021-10-22 06:53:14 -07:00
Aaron Son
2cca4d089a Add some tests for async sorted edits changes. 2021-10-21 17:19:10 -07:00
Taylor Bantle
cf8facbc04 Add skipped bats for overwriting a table with foreign key constraints 2021-10-21 17:03:47 -07:00
reltuk
615dedc374 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-21 21:33:06 +00:00
Aaron Son
f86a11de6b go/store/types/edits: Changes to ensure AsyncSortedEdits always returned edits in stable order based on how they were added.
The way the SQL layer issues UPDATE statements to the storage layer, combined
with the change which introduced table_edit_accumulator meant that a Map Delete
followed by a Map Insert at certain batch sizes were being sent to an edit
accumulator and then fetched back out of it. When those come back from the edit
accumulator, they need to come back in stable order, so that the update doesn't
turn into a set followed by a delete instead.

AsyncSortedEdits did not currently make attempts to keep these edits in stable
order. In some places it's explicitly backwards (sorted_edit_itr for example).

This fixes it so that it is always stable.

Potentially regresses a memory utilization and sort size smoothing optimization
based around pairing small buffers with large buffers early in the process.

Also includes a fix to table_edit_accumulator to correctly order its
currently-in-progress commited edit provider when it is doing its stable merge.
2021-10-21 14:25:43 -07:00
Vinai Rachakonda
4d50597424 Unblock Update Tests and add new bats test for Update Join #2274 2021-10-20 16:58:27 -07:00
Dustin Brown
1cc0df7c5c [ga-bump-dep] Bump dependency in Dolt by zachmu (#2272)
Co-authored-by: zachmu <zach@dolthub.com>
2021-10-20 11:56:47 -07:00
Dustin Brown
bf5e43fecf Merge pull request #2273 from dolthub/db/fix-winget
[no-release-notes] /.github/workflows/ci-bump-winget.yaml: fix winget workflow
2021-10-20 11:12:37 -07:00
Dustin Brown
7fd2fb31d9 /.github/workflows/ci-bump-winget.yaml: fix winget workflow 2021-10-20 11:11:20 -07:00
Dustin Brown
7c723ffb0e Update cd-release.yaml 2021-10-20 10:41:26 -07:00
zachmu
a8e599f93d [ga-bump-release] Update Dolt version to 0.31.0 and release v0.31.0 v0.31.0 2021-10-20 17:25:41 +00:00
Zach Musgrave
20588931c7 Merge pull request #2268 from dolthub/zachmu/views
Simpler engine construction
2021-10-19 08:51:12 -07:00
Zach Musgrave
93bb59163d Skipped test broken on main 2021-10-18 16:45:14 -07:00
Zach Musgrave
29ab1510ee Fixed two broken bats tests (also rewrote line endings in one file) 2021-10-18 16:25:22 -07:00
Zach Musgrave
ee4e2ed441 Reskip test 2021-10-18 15:40:18 -07:00
Zach Musgrave
cad95197aa Fixed broken bats test 2021-10-18 15:38:20 -07:00
Zach Musgrave
e3ff64990d Merge branch 'zachmu/views' of github.com:dolthub/dolt into zachmu/views 2021-10-18 15:27:34 -07:00
Zach Musgrave
684cefad92 Fixed broken bats test, upgraded GMS 2021-10-18 15:27:27 -07:00
zachmu
5572cf3086 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-18 22:23:42 +00:00
Zach Musgrave
a3ca429c38 Typo 2021-10-18 15:17:48 -07:00
Zach Musgrave
4141dfe11b Fixed more interface breakage 2021-10-18 15:15:06 -07:00
Zach Musgrave
5bc4388a5f Fully working with new view interface 2021-10-18 14:33:01 -07:00
Zach Musgrave
cd1ad41834 Removed RegisterSchemaFramgments 2021-10-18 11:47:36 -07:00
Dustin Brown
fded10e248 [ga-bump-dep] Bump dependency in Dolt by VinaiRachakonda (#2264)
Co-authored-by: VinaiRachakonda <vinai@dolthub.com>
2021-10-15 12:26:41 -07:00
Dustin Brown
6b6d0789c1 Merge pull request #2263 from dolthub/db/add-label
[no-release-notes] /.github/scripts/fuzzer/get-fuzzer-job-json.sh: add job label
2021-10-15 09:17:57 -07:00
Dustin Brown
557e3a565f /.github/scripts/fuzzer/get-fuzzer-job-json.sh: add job label 2021-10-15 09:15:44 -07:00
Daylon Wilkins
c8528e2e04 Reworked skipped fk test, display unresolved foreign keys 2021-10-14 03:17:36 -07:00
Vinai Rachakonda
c95a51a733 Prevent pull from erroring on config with no email or name: (#2254) 2021-10-13 16:41:16 -07:00
Aaron Son
4db1834730 Merge pull request #2252 from dolthub/aaron/commit-parents-closure-find-common-ancestor
go/store/data: Use new parents_closure field for FindCommonAncestor.
2021-10-13 15:52:34 -07:00
Dustin Brown
310ddd5cf4 Merge pull request #2257 from dolthub/db/refactor-winget
[no-release-notes] /.github/workflows/ci-bump-winget.yaml: refactor winget workflow
2021-10-13 10:59:27 -07:00
Dustin Brown
ab10713475 /.github/workflows/cd-release.yaml: trigger msi from release workflow 2021-10-13 10:46:36 -07:00
Zach Musgrave
411584565c Update roadmap.md 2021-10-13 10:31:33 -07:00
Dustin Brown
bf54713bf9 /.github/workflows/ci-bump-winget.yaml: refactor winget workflow 2021-10-13 10:11:36 -07:00
AndyA
0926956243 Merge pull request #2256 from dolthub/andy/rationalize-merge-concurrency
[no-release-notes] /go/libraries/doltcore/merge: Proper nested waiting for conflict streaming map
2021-10-12 15:55:32 -07:00
Aaron Son
672bcececd Merge remote-tracking branch 'origin/main' into aaron/commit-parents-closure-find-common-ancestor 2021-10-12 15:39:55 -07:00