Commit Graph

19332 Commits

Author SHA1 Message Date
timsehn 49fb8908b3 [ga-bump-release] Update Dolt version to 1.1.1 and release v1.1.1 v1.1.1 2023-05-22 17:54:21 +00:00
Neil Macneale IV 82cc919135 Enable 'dolt sql' to connect to local server instances.
Smart routing for sql command execution against running local servers.

https://github.com/dolthub/dolt/issues/3922
2023-05-22 10:28:25 -07:00
Neil Macneale IV cb8a970ebf Add temporary personal support while local/remote behavior is undocumented 2023-05-22 08:10:48 -07:00
Neil Macneale IV 4aeaf71f78 Print errors with some context about the remote server 2023-05-18 16:46:18 -07:00
Nick Tobey a4a97d27fc Merge pull request #5943 from dolthub/nicktobey/detached_head
Don't panic when in detached head state.
2023-05-18 16:43:53 -07:00
Neil Macneale IV d5214af321 Sort the DB names found in multirepo env
Also, avoid using /tmp in tests. Could get polluted
2023-05-18 15:27:12 -07:00
macneale4 88d1cf386c [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-18 15:26:01 -07:00
Neil Macneale IV e6945a013f Addressing PR Feedback
Renamed a variable to be more clear, and updated documentation for the --use-db flag.
2023-05-18 15:26:01 -07:00
Neil Macneale IV a5d23104c5 Reduce usage of first DoltEnv, and explicitely pass around current working directory 2023-05-18 15:26:01 -07:00
Neil Macneale IV 55b8b111f2 Name the sql-local-remote tests correctly 2023-05-18 15:26:00 -07:00
Neil Macneale IV 406052a078 Remove some debugging strings 2023-05-18 15:26:00 -07:00
Neil Macneale IV fe34fc9e7a Update sql-server.bats to reflect new behavior 2023-05-18 15:26:00 -07:00
Neil Macneale IV eaa4cddb2b Allow for unresolved targetEnvironment.
Not all commands, or even all SQL statements need databases.
2023-05-18 15:26:00 -07:00
Neil Macneale IV 2a7099144b New bats tests to verify we pick local or remote mode correctly 2023-05-18 15:26:00 -07:00
Neil Macneale IV 3f9dbbcfec Add the --verbose-engine-setup flag to see whats happening 2023-05-18 15:26:00 -07:00
Neil Macneale IV 958ccd8fe6 Enable calling local servers using the sql-server.lock file 2023-05-18 15:26:00 -07:00
Neil Macneale IV 02a20e6b2e Alter environment.go to have additional lock so we can grab the port 2023-05-18 15:26:00 -07:00
Neil Macneale IV 8fec67b23e Use absolute paths for privledges and branch control files 2023-05-18 15:26:00 -07:00
Neil Macneale IV 173a26cbb8 Fix broken test which allowed for non-existant --data-dir value 2023-05-18 15:26:00 -07:00
Neil Macneale IV 4ff25dbd50 Ensure we create the MultiEnv instance once in main, and use it everywhere
Use the ABS dataDir rather than the user provided value when looking for config and permissions files
2023-05-18 15:26:00 -07:00
Neil Macneale IV 63ee4eb798 Bats tests for --data-dir and --use-db 2023-05-18 15:26:00 -07:00
Tim Sehn 3d424e144c Merge pull request #5985 from dolthub/tim/more-load-data-tests
`LOAD DATA` bats tests improvements
2023-05-18 15:20:34 -07:00
Tim Sehn 3b43b06cef Remove extraneous spaces 2023-05-18 13:24:42 -07:00
Tim Sehn bdff9be723 More thorough load data bats tests 2023-05-18 13:15:22 -07:00
Tim Sehn 4be9963b63 More load data tests 2023-05-18 12:42:43 -07:00
Tim Sehn ce0d917c64 Load data testing progress 2023-05-18 12:08:23 -07:00
Tim Sehn fcb5455fd0 Stubs and a couple bats tests for load data bats tests improvements 2023-05-18 11:11:31 -07:00
Maximilian Hoffman f4f4c200be [no-release-notes] fix GMS bump (#5979) 2023-05-18 09:02:05 -07:00
Nick Tobey 6af53091ee Merge branch 'main' of github.com:dolthub/dolt into nicktobey/detached_head 2023-05-17 11:18:12 -07:00
Nick Tobey 9226024961 Add clarifying TODO to GetWorkingSet. 2023-05-17 11:14:37 -07:00
Aaron Son 8e7dafa27d Merge pull request #5940 from dolthub/aaron/block-on-cluster-replication
go: sqle: cluster: Implement dolt_cluster_ack_writes_timeout_secs, a way to block COMMIT ack until the commit is replicated to cluster standbys.
2023-05-17 06:11:06 -07:00
James Cor b0bdef9f21 Merge pull request #5971 from dolthub/JCOR11599-2405a8d8
[auto-bump] [no-release-notes] dependency by JCOR11599
2023-05-16 22:46:08 -07:00
JCOR11599 621104344f [ga-bump-dep] Bump dependency in Dolt by JCOR11599 2023-05-17 04:30:35 +00:00
Aaron Son 6ea915ca4d Merge remote-tracking branch 'origin/main' into aaron/block-on-cluster-replication 2023-05-16 16:57:09 -07:00
Aaron Son af184681a4 Merge pull request #5949 from dolthub/aaron/cluster-replication-heartbeats
go: sqle: cluster: commithook: Periodically heartbeat to a standby when we are primary. This allows replication_lag on the standby to more accurately reflect the possible drift locally.
2023-05-16 16:51:08 -07:00
Aaron Son 8bbb49b79e go: doltdb,sqle/cluster: Some PR feedback. Small cleanups. 2023-05-16 15:42:14 -07:00
Neil Macneale IV 7a740f3fa0 Use UTC timestamp in date comparison test. 2023-05-16 15:08:31 -07:00
Aaron Son 6ccae75a8d integration-tests/go-sql-server-driver: Add TestCluster/last_updated_heartbeats test which asserts that last_updated does not grow while there are no writes to replicate. 2023-05-16 14:21:41 -07:00
Neil Macneale IV a19dadd32b Use UTC timestamp in date comparison test.
Allows tests to run on laptops which aren't in UTC.
2023-05-16 13:24:07 -07:00
Jason Fulghum f1b5eab94d Merge pull request #5951 from dolthub/fulghum/bugfix
Handle unresolved/resolved foreign keys when determining equality
2023-05-16 10:26:06 -07:00
Aaron Son 2b159425f5 go: doltdb: hooksdatabase: Pass replication status controller as a field on the pass-by-value struct, instead of through the context. 2023-05-16 10:12:36 -07:00
timsehn ad455cf1ed [ga-bump-release] Update Dolt version to 1.1.0 and release v1.1.0 v1.1.0 2023-05-16 16:28:46 +00:00
Daylon Wilkins 1210311abd Merge pull request #5955 from dolthub/Hydrocharged-110a1193
[auto-bump] [no-release-notes] dependency by Hydrocharged
2023-05-16 07:43:36 -07:00
Neil Macneale IV 2f99ed0116 Print global arguments for 'dolt --help' but not 'dolt' 2023-05-16 07:29:28 -07:00
Daylon Wilkins 09648ef769 Second attempt at updating deps 2023-05-16 06:18:50 -07:00
Daylon Wilkins ef6f8e4a06 Updated deps 2023-05-16 06:06:44 -07:00
Hydrocharged 639c8cf181 [ga-bump-dep] Bump dependency in Dolt by Hydrocharged 2023-05-16 12:59:00 +00:00
Neil Macneale IV 9944a32b73 Now with no \n chars 2023-05-15 17:26:17 -07:00
Neil Macneale IV 6ab9794b04 Print global arguments for 'dolt --help' but not 'dolt' 2023-05-15 16:52:27 -07:00
Dustin Brown f2de3f5e8b Update ci-check-repo.yaml 2023-05-15 16:36:50 -07:00