Commit Graph

2661 Commits

Author SHA1 Message Date
Aaron Son 597c4d56cd Merge pull request #6831 from dolthub/aaron/cluster-nondolt-replication-graceful-standby
go: sqle: cluster: When performing a graceful transition to standby, take mysql and dolt_branch_control replication state into account.
2023-10-17 16:50:32 -07:00
Aaron Son 0c72ec5205 go: sqle: cluster: Take mysql and dolt_branch_control replication state into account when performing a graceful transition to standby. 2023-10-17 15:01:46 -07:00
Taylor Bantle 5c01935f13 Fix bats 2023-10-17 13:40:02 -07:00
Taylor Bantle 73f1bfabfa Fix workbench tests 2023-10-17 10:48:37 -07:00
Taylor Bantle dbb0bf8e2b Make dolt_docs system table function like dolt_ignore 2023-10-17 09:34:16 -07:00
Nick Tobey c3a827c8a8 Add BATS tests for dolt_ignore AS OF 2023-10-16 17:04:36 -07:00
jennifersp c107df2bc2 add --all flag for dolt push (#6787) 2023-10-14 12:36:25 -07:00
Dustin Brown 9c46436d24 [auto-bump] [no-release-notes] dependency by JCOR11599 (#6814)
* [ga-bump-dep] Bump dependency in Dolt by JCOR11599

* skip batch test

---------

Co-authored-by: JCOR11599 <jcor@ucsd.edu>
Co-authored-by: James Cor <james@dolthub.com>
2023-10-13 17:36:17 -07:00
stephanie 36256bcdcc Merge pull request #6774 from dolthub/steph/pull
migrate dolt pull to use sql queries
2023-10-13 15:25:17 -07:00
Stephanie You fa50b5ba78 address PR comments 2023-10-13 12:39:54 -07:00
Stephanie You 961cdfbd4f address PR comments 2023-10-13 01:15:41 -07:00
Stephanie You 871fab1546 update bats tests 2023-10-13 01:12:59 -07:00
Jason Fulghum aab6972dad Preventing dolt_checkout from creating new branches in read-only databases.
Fixes: https://github.com/dolthub/dolt/issues/6785
2023-10-12 13:37:09 -07:00
Jason Fulghum a437340821 Merge branch 'fulghum/undrop' into aaron/undrop-cluster-tests 2023-10-11 15:59:22 -07:00
Jason Fulghum d976b46b0d PR Feedback: normalizing physical directory names when moving them to the dropped dbs directory, so that they will always match the logical name of the database when they are restored. 2023-10-10 14:12:20 -07:00
Stephanie You f5e1c03a6c flip status code for merge with conflicts in bats tests 2023-10-09 15:09:58 -07:00
Stephanie You 4f6e198558 address PR comments 2023-10-09 14:04:27 -07:00
Stephanie You d8c6d56bce more pull options bats tests 2023-10-09 13:17:41 -07:00
Stephanie You aef2d199b4 unskip dolt pull --squash test 2023-10-09 10:29:29 -07:00
Stephanie You 5ca6a19962 fix dolt pull --force to work properly 2023-10-08 20:55:19 -07:00
Aaron Son 17c451c12e Merge remote-tracking branch 'origin/main' into aaron/undrop-cluster-tests 2023-10-06 17:20:22 -07:00
Aaron Son dcc009509e Merge remote-tracking branch 'origin/fulghum/undrop' into aaron/undrop-cluster-tests 2023-10-06 17:20:15 -07:00
Aaron Son de3eed8b73 go: sqle: cluster: Make users and grants replication respect dolt_cluster_ack_writes_timeout_secs. 2023-10-06 15:46:42 -07:00
Aaron Son 6376098755 go: sqle: cluster: Make branch control replication respect dolt_cluster_ack_writes_timeout_secs 2023-10-06 14:33:33 -07:00
Aaron Son 0edcf6c4ff [no-release-notes] integration-tests,SysbenchDockerfile: Bump to golang 1.21.2 in Dockerfiles. 2023-10-06 10:45:32 -07:00
Aaron Son e82f0b8d51 [no-release-notes] integration-tests: Bump to golang 1.21.1 in Dockerfiles. 2023-10-06 10:31:37 -07:00
Aaron Son 733c5fe793 [no-release-notes] integration-tests: Bump to golang 1.21 in Dockerfiles. 2023-10-06 10:23:48 -07:00
Jason Fulghum 68a771bbca Tidying up 2023-10-05 16:05:42 -07:00
Zach Musgrave 7f486ab807 Merge pull request #6777 from dolthub/aaron/bump-go-1.21
go/go.mod: Require Go 1.21 in our go.mod.
2023-10-05 15:58:59 -07:00
Jason Fulghum b6f40a621d Merge branch 'main' into fulghum/undrop 2023-10-05 14:09:55 -07:00
Aaron Son dd798b09f4 integration-tests/go-sql-server-driver/go.mod: Use golang 1.21. 2023-10-05 13:51:36 -07:00
Dustin Brown 3a8453b615 [auto-bump] [no-release-notes] dependency by JCOR11599 (#6775) 2023-10-05 13:28:31 -07:00
Stephanie You 8ce8a924e7 add remote test for dolt pull 2023-10-04 18:53:58 -07:00
Stephanie You 60bcded65f update merge to return 1 when there are conflicts 2023-10-04 18:53:58 -07:00
Stephanie You 039f0221dc update pull to print proper merge stats 2023-10-04 18:53:58 -07:00
Stephanie You d6ab22bee7 migrate dolt pull to use sql queries 2023-10-04 18:53:58 -07:00
Stephanie You 0a47b6f90a add bats tests for pull 2023-10-04 18:53:58 -07:00
Jason Fulghum b21317a480 Merge branch 'main' into fulghum/undrop 2023-10-04 12:17:54 -07:00
Jason Fulghum 24764496f1 Adding support for new dolt_purge_dropped_databases stored procedure 2023-10-04 12:13:37 -07:00
Jason Fulghum 17ebce57c9 Fixing BATS test to run correctly with the remote-engine variant. 2023-10-04 11:30:29 -07:00
Aaron Son b381903a2f integration-tests/go-sql-server-driver: Add a test for undropping a cluster replicated database. 2023-10-04 10:14:20 -07:00
Aaron Son e8e122b2d4 Merge pull request #6767 from dolthub/aaron/fix-cluster-drop-database-race
go: sqle: cluster: Improvements for DROP DATABASE replication.
2023-10-04 10:13:48 -07:00
Jason Fulghum d4f4945e16 Merge branch 'main' into fulghum/undrop 2023-10-04 09:31:27 -07:00
Jason Fulghum 93b044f233 Various small fixes 2023-10-03 15:58:00 -07:00
Aaron Son 7d412a14e8 go: sqle: cluster: Improvements for DROP DATABASE replication.
Fix a bug in session handling for the replication api endpoint which would
prevent a dropped database from being recreated on a replica.

Fix a race condition when a database is recreated after it is dropped. In that
case, we stop attempting to replicate the drop, so that it does not replicate
after the new database does.
2023-10-03 14:50:57 -07:00
Zach Musgrave 45d39371e3 upgraded deps of go sql driver tests 2023-10-03 10:05:11 -07:00
Zach Musgrave 91474d1a9b Fixed error message in bats test 2023-10-03 09:37:54 -07:00
Jason Fulghum 7ac5799066 First pass on support for dolt_undrop() stored procedure to "undrop" a database after it has been dropped. 2023-10-02 18:32:53 -07:00
stephanie 5ea0e18d55 Merge pull request #6738 from dolthub/steph/push
migrate dolt push to use sql queries
2023-10-02 18:09:46 -07:00
Aaron Son aabb4b6dda Merge remote-tracking branch 'origin/main' into aaron/replicate-drop-database 2023-10-02 10:48:28 -07:00