Commit Graph

19222 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
535e59141d integration-tests/go-sql-server-driver: Cluster, dolt_cluster_ack_writes_timeout_secs, add a failing test to assert that dolt_branch modifications are waited on. 2023-05-15 14:00:04 -07:00
reltuk
2e4107fe22 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-12 23:50:15 +00:00
Aaron Son
261b10c92b go: sqle: transactions,cluster: Move block-for-cluster-replication behavior to Dolt transaction logic and out of the commit hook. 2023-05-12 16:40:42 -07:00
Aaron Son
af966fa9fd Add ReplicationStatusController out parameter to some DoltDB write methods. 2023-05-12 16:13:15 -07:00
Aaron Son
dfdb4a4b2a go: sqle: cluster: Implement a first pass at dolt_cluster_ack_writes_timeout_secs.
Setting this system variable to a non-zero value on a primary replica in a
sql-server cluster will cause dolt to block a SQL client performing a commit
until that client's commit is fully replicated to the replicas.

If there is a timeout, currently a warning is logged in the logs.
2023-05-11 15:50:43 -07:00
Jason Fulghum
f290614b3d Merge pull request #5922 from dolthub/fulghum/schema-merge
Changing schema equality to not consider tag when comparing columns
2023-05-11 12:58:00 -07:00
max-hoffman
1c1db7a62e [ga-bump-release] Update Dolt version to 1.0.1 and release v1.0.1 v1.0.1 2023-05-11 17:29:10 +00:00
Aaron Son
cdbd45864a Merge pull request #5921 from dolthub/aaron/parallelize-commit-hook-invocation
go: doltdb: hooksdatabase.go: Execute commit hooks in parallel so that synchronous commit hooks do not serialize on each other.
2023-05-11 10:28:01 -07:00
Aaron Son
4c0f974a28 Merge pull request #5919 from dolthub/aaron/sql-dolt_log_level-variable
sql-server: `dolt_log_level` system variable allows reading the current log level for the server and setting a new one.
2023-05-11 10:27:43 -07:00
Jason Fulghum
da44204f58 Pulling out tag related checks in test 2023-05-11 10:27:39 -07:00
Dustin Brown
e8dc92e435 [ga-bump-dep] Bump dependency in Dolt by max-hoffman (#5927)
Co-authored-by: max-hoffman <maximilian.wolfgang1@gmail.com>
2023-05-11 10:19:39 -07:00
Maximilian Hoffman
c3660a1d0c bump gms (#5926) 2023-05-11 10:18:01 -07:00
Nick Tobey
ac1e43774c Merge pull request #5918 from dolthub/nicktobey/callforhelp
Remove cry for help from `dolt sql --help`
2023-05-10 23:05:29 -07:00
Nick Tobey
68f6d036ba Remove print debugging. 2023-05-10 16:15:20 -07:00
Nick Tobey
abad9bc585 Use bats tests to verify dolt stash --help 2023-05-10 16:12:48 -07:00
Nick Tobey
865c08531a Delay format check used in dolt stash until after args parsing, in case --help is being passed. 2023-05-10 16:10:51 -07:00
Jason Fulghum
8f8e05c674 Changing schema equality to not consider tag when comparing columns 2023-05-10 16:04:52 -07:00
Nick Tobey
ab6152c4f3 Fix bats test that verifies the behavior of --help 2023-05-10 15:49:48 -07:00
Aaron Son
05a5dcb5a4 go: doltdb: hooksdatabase.go: Execute commit hooks in parallel so that synchronous commit hooks do not serialize on each other. 2023-05-10 15:35:30 -07:00
reltuk
2bd393bcf9 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-10 21:56:25 +00:00
Aaron Son
2674c3cf2a sql-server: Allow dolt_log_level system variable to receive writes and dynamically update the log level. 2023-05-10 14:46:45 -07:00
Nick Tobey
59f9099082 Remove cry for help from dolt sql --help 2023-05-10 14:42:13 -07:00
Aaron Son
663d2e3181 sql-server: Expose the current server log level through the dolt_log_level system variable. 2023-05-10 14:25:41 -07:00
Aaron Son
1ecd688929 Merge pull request #5902 from dolthub/aaron/clone-works-better-with-chunk-journal
go/store/datas/pull/clone.go: Fix to clone to interact with sql-server remotes better.
2023-05-10 12:01:51 -07:00
Aaron Son
b46f3b4c7e Merge pull request #5899 from dolthub/aaron/dolt_gc-unavailable-on-standby-replica
go: sqle: dolt_gc.go: Disable CALL dolt_gc() on a standby replica, where it is not currently safe. Shallow GC is still available.
2023-05-10 11:53:02 -07:00
Aaron Son
f1ab87a118 Merge remote-tracking branch 'origin/main' into aaron/clone-works-better-with-chunk-journal 2023-05-10 10:10:46 -07:00
Aaron Son
0d024eb0a3 Merge remote-tracking branch 'origin/main' into aaron/dolt_gc-unavailable-on-standby-replica 2023-05-10 10:10:01 -07:00
Tim Sehn
c719bc1c6c Merge pull request #5817 from dolthub/taylor/checkout-table-test
[no-release-notes] Add skipped enginetest for call dolt_checkout(table) on database revision bug
2023-05-10 10:04:33 -07:00
Tim Sehn
b0c2e4de25 Merge pull request #5844 from alerque/arch
Mention official Arch Linux packaging in README
2023-05-10 10:03:43 -07:00
James Cor
a7d2580e49 Merge pull request #5908 from dolthub/JCOR11599-ba911392
[auto-bump] [no-release-notes] dependency by JCOR11599
2023-05-10 09:47:47 -07:00
JCOR11599
cc5e331c25 [ga-bump-dep] Bump dependency in Dolt by JCOR11599 2023-05-10 05:02:52 +00:00
James Cor
26c6bd383e Merge pull request #5905 from dolthub/JCOR11599-23ac940b
[auto-bump] [no-release-notes] dependency by JCOR11599
2023-05-09 21:58:04 -07:00
JCOR11599
11b395d562 [ga-bump-dep] Bump dependency in Dolt by JCOR11599 2023-05-09 22:47:50 +00:00
James Cor
81888af05f Merge pull request #5868 from dolthub/james/index
go through primary keys backwards
2023-05-09 15:46:34 -07:00
Aaron Son
6f646a7f01 go/store/datas/pull/clone.go: Fix to clone to interact with sql-server remotes better.
Before this fix, |dolt clone| against a sql-server remote can fail with a
confusing error message if the sql-server has a chunk journal. Adding the chunk
journal to our destination ChunkStore causes us to update the root hash, which
the Clone code was not expecting.

This change updates the Clone code to look for the possible update to the
destination's root hash and to not try to set the root hash on the ChunkStore
if it has already been done by the code handling the chunk journal.
2023-05-09 15:25:07 -07:00
James Cor
e40a3b303a sort pk??? 2023-05-09 14:34:41 -07:00
Aaron Son
6e6ed1b77b Fix result ordering in integration test. 2023-05-09 14:08:19 -07:00
Aaron Son
acf99f1edf go: sqle: dolt_gc.go: Disable CALL dolt_gc() on a standby replica, where it is not currently safe. Shallow GC is still available. 2023-05-09 13:41:16 -07:00
James Cor
f22818e44b bump 2023-05-09 11:49:34 -07:00
James Cor
3c62e2bee0 skipping this test 2023-05-09 10:45:12 -07:00
James Cor
dc52c89f9b Merge branch 'main' into james/index 2023-05-09 09:39:13 -07:00
Neil Macneale IV
cd1f8ca0b5 batsee --output dir support 2023-05-09 09:36:10 -07:00
jennifersp
537a651690 fix empty string import for ENUM and SET types (#5856) 2023-05-09 07:15:44 -07:00
JCOR11599
8358b906b4 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-09 05:25:41 +00:00
James Cor
50c3a9a811 bump again 2023-05-08 22:15:34 -07:00
James Cor
f996051cd9 bump 2023-05-08 22:07:05 -07:00
James Cor
12b4d7a202 merge and bump 2023-05-08 22:03:05 -07:00
jennifersp
093e14a6be add support for ALTER EVENT (#5895) 2023-05-08 20:57:23 -07:00
Jason Fulghum
6f2caa5223 Merge pull request #5892 from dolthub/fulghum/binlog-replication
Fix binlog connection re-establishment when connection closes between messages
2023-05-08 17:43:38 -07:00