Commit Graph

13793 Commits

Author SHA1 Message Date
Andy Arthur
faaf7da768 Merge remote-tracking branch 'origin/main' into andy/dolt-docs 2022-07-13 11:15:19 -07:00
Dhruv Sringari
59c86f6a3b [no-release-notes] index cat and rebuild for new format (#3814)
* cleanup table package

* delete TextTableWriter

* dolt index [cat, rebuild] for new format

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

* fix tests

* use reflect.DeepEqual when determining column diff results

* use sql type compare instead of reflect.DeepEqual

* update test to use sql column types

* fix semantic merge conflict

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-13 10:03:56 -07:00
Brian Hendriks
1885f2f1b1 Merge pull request #3818 from dolthub/bh/disable-params
disable aws params for dolt_sync command run via sql and minor credentialing change
2022-07-13 09:57:04 -07:00
Dhruv Sringari
14899d2909 Drop support for deleting conflicts through cli and add cardinality column for keyless table conflicts (#3777)
* reimplement dolt_transaction_merge_stomp at merge layer


add idx

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

* fix tests

* remove stomp conflicts

* conflict reader must be reset each time PartitionRows is called

* reimplement dolt conflict resolve --theirs|--ours through sql path

Also drops manual conflict resolving through cli

* add cardinality columns to dolt_conflicts_table_name for keyless tables

* Adds keyless conflict deleting for new format

* dolt conflicts resolve sql impl for keyless tables

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

* delete cli.ParseKeyValues

* fix tests

* temporarily allow dolt_docs to be mutated from SQL path

Because conflicts resolve uses the SQL path, dolt_docs needs to be editable.

* fix untested code, comment out docs tests

* bats

* fix a couple found merge bugs

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

* if statements...

* add comments

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-12 17:34:20 -07:00
Brian Hendriks
1b4420b1f0 disable aws params for dolt_sync command run via sql and minor credentialing change 2022-07-12 17:16:34 -07:00
Tim Sehn
ce4aa09045 Update README w/ new use cases blog 2022-07-12 16:28:37 -07:00
AndyA
2a1af3f9b7 Merge pull request #3793 from dolthub/andy/err-serialization-failure
doltcore/sqle/dsess: Return "serialization failure" `ER_LOCK_DEADLOCK (1213)` on transaction merge conflict, remove `DOLT_TRANSACTION_MERGE_STOMP` flag and session var
2022-07-12 15:49:35 -07:00
Andy Arthur
f5765027d7 Merge remote-tracking branch 'origin/main' into andy/err-serialization-failure 2022-07-12 14:42:50 -07:00
Andy Arthur
606031f684 updated transaction merge stomp tests to obey first-write-wins 2022-07-12 14:42:10 -07:00
Brian Hendriks
48480f302a Merge pull request #3798 from dolthub/bh/user-specific-sess-vars
Support per user session variables in the server config
2022-07-12 14:34:42 -07:00
Maximilian Hoffman
3ec0e48b0d dolt_checkout and read replication working set fixes (#3808)
* dolt_checkout and read replication working set fixes

Sql path 'dolt_checkout' used to create a new branch from HEAD
if the checkout name did not have a remote tracking ref. The CLI,
on the other hand, will initialize a local branch if a remote tracking
ref with the same name in the default remote exists. The SQl path
now mirrors the CLI checkout: if we checkout a new branch, like
'new_feature', and we have previously fetched that branch from our
default remote, `dolt_checkout('feature')` will initialize a branch
using the head commit from the remote `feature`.

Second, read replication was creating a local tracking branch for
remote branches (sourced from the master remote), but not creating
corresponding working sets. This let users attach to new branches with
`use db/feature` syntax, but prevented users from
`dolt_checkout('feature')` both for the bug in dolt checkout, but also
because we created an intermediary state with a local branch, but
without a corresponding working set. SQL replication will now fetch,
create the new branch, and create the appropriate working set.

* jennifer's feedback

* unskip
2022-07-12 14:17:28 -07:00
Brian Hendriks
eaf0312c3f test fix 2022-07-12 13:35:27 -07:00
Brian Hendriks
165b4c4ce5 Merge branch 'bh/user-specific-sess-vars' of github.com:liquidata-inc/dolt into bh/user-specific-sess-vars 2022-07-12 13:07:51 -07:00
Brian Hendriks
e0712b9904 pr feedback 2022-07-12 13:07:42 -07:00
bheni
0f7fe4a02b [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-12 19:26:26 +00:00
Brian Hendriks
a6966c222e Merge remote-tracking branch 'remotes/origin/main' into bh/user-specific-sess-vars 2022-07-12 12:24:35 -07:00
andrew-wm-arthur
4b1e1fc415 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-12 19:09:37 +00:00
Andy Arthur
8f7ebd09f8 picked up GMS with updated error message 2022-07-12 12:06:42 -07:00
Dhruv Sringari
93a2938716 unskip system tables tests (already working) (#3807) 2022-07-12 11:34:38 -07:00
Andy Arthur
872a7dd7ea Merge remote-tracking branch 'origin/main' into andy/err-serialization-failure 2022-07-12 09:51:24 -07:00
AndyA
db9c3290fc Merge pull request #3805 from dolthub/andrew-wm-arthur-2b78c434
[auto-bump] [no-release-notes] dependency by andrew-wm-arthur
2022-07-12 09:48:12 -07:00
andrew-wm-arthur
f30bf135fb [ga-bump-dep] Bump dependency in Dolt by andrew-wm-arthur 2022-07-12 05:27:56 +00:00
Brian Hendriks
82e3ce1be5 debug 2022-07-11 17:43:10 -07:00
Maximilian Hoffman
59fcfb7069 [no-release-notes] projection mappings perf (#3780)
* init

* fix bug

* fix history table

* fix covering index bug

* cleanup

* another covering bug

* fix history table caching

* delete comments

* more cleanup

* andy's comments

* delete old costs
2022-07-11 16:20:09 -07:00
bheni
c7c3c7d166 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-11 23:16:12 +00:00
Brian Hendriks
e0c8014f20 Merge branch 'bh/user-specific-sess-vars' of github.com:liquidata-inc/dolt into bh/user-specific-sess-vars 2022-07-11 16:11:02 -07:00
Brian Hendriks
f1145b845b update gms dependency 2022-07-11 16:10:49 -07:00
bheni
672e79cb84 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-11 22:28:42 +00:00
Brian Hendriks
fdb5104efe Support per user session variables in the server config 2022-07-11 15:26:38 -07:00
andrew-wm-arthur
6402f26561 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-11 20:47:50 +00:00
Andy Arthur
4c32f515ed rip out DOLT_TRANSACTION_MERGE_STOMP 2022-07-11 13:34:36 -07:00
Andy Arthur
a90c734ab5 on transaction merge conflict, return ErrLockDeadlock (1213) with SQLSTATE (40001) 'serialization failure' 2022-07-11 13:09:32 -07:00
Maximilian Hoffman
efdf426a66 Backup success=1, error=0 (#3792) 2022-07-11 13:05:37 -07:00
jennifersp
da446fd737 Add --track flag to dolt branch (#3786) 2022-07-11 11:56:22 -07:00
Andy Arthur
5dac6fb128 clarify bench script names 2022-07-09 10:41:29 -07:00
Andy Arthur
c00ce2123c updated sysbench, tpcc utilities 2022-07-09 10:39:31 -07:00
VinaiRachakonda
eb7b27f559 [ga-bump-release] Update Dolt version to 0.40.16 and release v0.40.16 v0.40.16 2022-07-09 01:22:35 +00:00
jennifersp
00d520ddc8 add dolt_tags system table and dolt_tag() procedure (#3774) 2022-07-08 17:55:01 -07:00
Jason Fulghum
6c78330128 Merge pull request #3779 from dolthub/fulghum/issue-3776
Allow backticks in index names
2022-07-08 16:37:07 -07:00
Jason Fulghum
2da598787d Fixing test data now that the backtick escaping fix landed in GMS. 2022-07-08 15:49:08 -07:00
Jason Fulghum
5e6c5014a5 Merge branch 'main' into fulghum/issue-3776 2022-07-08 15:45:47 -07:00
Jason Fulghum
34ade0ea02 Merge pull request #3787 from dolthub/fulghum-a9724caf
[auto-bump] [no-release-notes] dependency by fulghum
2022-07-08 15:41:24 -07:00
fulghum
71501f5c06 [ga-bump-dep] Bump dependency in Dolt by fulghum 2022-07-08 21:34:16 +00:00
AndyA
9991ddd92a Merge pull request #3784 from dolthub/andy/chunker-panic
[no-release-notes] go/store/prolly/tree: Fix panic in chunker caused by stale `subtreeCounts` state in `Cursor`
2022-07-08 13:44:26 -07:00
Vinai Rachakonda
ab52b92f2f Add test case for hanging sockets in Ubuntu (#3771) 2022-07-08 13:17:32 -07:00
Aaron Son
49b3437a55 Merge pull request #3783 from dolthub/aaron/hooks-database-more-head-updates
go: doltdb: commit_hooks,hooksdatabase: Ensure that replication hooks work for replicating HEADs when the commit itself is already on the remote.
2022-07-08 13:11:00 -07:00
Andy Arthur
bf9f51d0b9 added test case to repro panic 2022-07-08 12:20:33 -07:00
Aaron Son
178c3bf2b5 go: doltdb: commit_hooks,hooksdatabase: Ensure that replication hooks work for replicating HEADs when the commit itself is already on the remote. 2022-07-08 11:33:46 -07:00
Aaron Son
ec29b460a3 Merge pull request #3781 from dolthub/reltuk-8af69647
[auto-bump] [no-release-notes] dependency by reltuk
2022-07-08 11:03:10 -07:00
reltuk
7a94e0ee56 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-08 17:20:15 +00:00