Commit Graph

1389 Commits

Author SHA1 Message Date
Taylor Bantle
9e5e3e04d4 Feedback 2022-10-17 17:25:16 -07:00
Taylor Bantle
b217b979c5 Merge remote-tracking branch 'origin/main' into taylor/two-dot-log-cli 2022-10-17 16:20:09 -07:00
Taylor Bantle
1931f77844 bats, go: Support two dot log for CLI 2022-10-17 11:29:28 -07:00
jennifersp
24108f14a2 get unused port number and stop running server only (#4550) 2022-10-14 14:07:35 -07:00
Zach Musgrave
f44de680da Merge pull request #4545 from dolthub/zachmu/clone-replication
Enable new clones to begin replicating on the primary
2022-10-13 15:21:42 -07:00
Zach Musgrave
d696173acd Test of pushing newly cloned DB from primary 2022-10-13 12:45:15 -07:00
jennifersp
eee8a7224e add file read progress info for dolt sql --file=<file.sql> command (#4524) 2022-10-13 11:29:50 -07:00
AndyA
92f9ac07e0 Merge pull request #4519 from dolthub/andy/revision-db-remotes-table
go/doltcore/sqle: Initialize remotes, backups, and branch config when constructing revision databases
2022-10-11 18:38:25 -07:00
James Cor
079c8ad5b0 adding test 2022-10-11 12:45:02 -07:00
Andy Arthur
8f95ecdf29 added bats repro for empty dolt_remotes table in revision db 2022-10-11 10:02:12 -07:00
James Cor
0ccb00da55 Merge branch 'main' into james/multipoint 2022-10-07 16:34:53 -07:00
James Cor
e104a6d776 fix for round tripping 2022-10-07 14:15:56 -07:00
Andy Arthur
af93cfd6a5 fixup bats 2022-10-07 13:05:28 -07:00
Andy Arthur
f98e58cd4f cleanup multi-repo format enforcement 2022-10-07 11:08:48 -07:00
James Cor
ba6868c01c removing multipoint test 2022-10-07 10:49:56 -07:00
James Cor
68c257436b fixing test 2022-10-07 09:59:14 -07:00
Aaron Son
995e3818cd go: sqle: remotesrv: Successfully replicate CREATE DATABASE commands by instantiating new databases on the standby on demand. 2022-10-05 12:37:39 -07:00
jennifersp
3cbd40c618 wrap spatial type string in single quotes when exporting (#4461) 2022-10-05 12:06:31 -07:00
Aaron Son
1e7abe5ef4 Merge pull request #4449 from dolthub/aaron/sqlserver-yaml-tests
integration-tests/go-sql-server-driver: Proof of concept a declarative approach to integration tests for sql-server interactions.
2022-10-05 11:28:48 -07:00
Aaron Son
ec2fabf3c3 .github/workflows/ci-sql-server-integration-tests.yaml: Disable windows for now. 2022-10-04 14:34:34 -07:00
Aaron Son
89a6807336 .github/workflows: ci-sql-server-integration-tests.yaml: More iteration, try a GracefulStop for Windows. 2022-10-04 13:54:31 -07:00
Aaron Son
61831cf91e .github/workflows: ci-sql-server-integration-tests.yaml: More iteration. 2022-10-04 13:16:43 -07:00
Aaron Son
cc82355269 integration-tests/go-sql-server-driver: Fix JSON test for LD_1. 2022-10-04 11:49:11 -07:00
jennifersp
0746e55d7d update bats test 2022-10-04 11:04:40 -07:00
Aaron Son
c56b0630a9 integration-tests/go-sql-server-driver: Finish transitioning the rest of the sql-server-cluster tests. 2022-10-04 10:22:38 -07:00
Aaron Son
fa7db054ad integration-tests/go-sql-server-driver: Convert some more sql-server-cluster.bats tests. 2022-10-03 17:23:53 -07:00
Aaron Son
0f39022a7a Merge remote-tracking branch 'origin/main' into aaron/sqlserver-yaml-tests 2022-10-03 16:37:28 -07:00
Aaron Son
dd7b5b5bec integration-tests/go-sql-server-driver: Move over some more tests. 2022-10-03 16:37:24 -07:00
Aaron Son
72579d4972 integration-tests/go-sql-server-driver: Cleanup how we write files a bit. 2022-10-03 15:37:40 -07:00
Aaron Son
364024f7a2 integration-tests/go-sql-server-driver: Make a new connection pool per connection assertion, instead of trying to reuse them.
Simpler.

Much better structure for lots of tests which test things like connection
strings, users and passwords provided at connection time, etc.
2022-10-03 15:26:48 -07:00
Aaron Son
b3dc25fc57 integration-tests/go-sql-server-driver: Move some magic numbers/strings to constants. 2022-10-03 15:19:59 -07:00
Aaron Son
04947a44a0 integration-tests/go-sql-server-driver: Some cleanup to finalization and sql.Rows handling. 2022-10-03 15:14:37 -07:00
Aaron Son
bf7480eb1b integration-tests/go-sql-server-driver: sql-server-cluster.yaml: Fix dolt_assume_cluster_role tests for new behavior of not breaking connection when role does not change. 2022-10-03 15:02:40 -07:00
Aaron Son
91087027b8 Merge remote-tracking branch 'origin/main' into aaron/sql-cluster-transitions-kill-connections 2022-10-03 14:10:50 -07:00
Aaron Son
153ea002e4 integration-tests/go-sql-server-driver: Start migrating over some simple tests from sql-server.bats. 2022-10-03 14:00:56 -07:00
Aaron Son
a2f1e06b75 integration-tests/go-sql-server-driver: Factor out test.Run. 2022-10-03 12:50:07 -07:00
Aaron Son
7ebc1bb45f integration-tests/go-sql-server-driver: Move Server definitions to TestRepo/MultiRepo, instead of a separate top-level field. 2022-10-03 12:04:35 -07:00
Aaron Son
87de2bb7d9 integration-tests/go-sql-server-driver: Add retry_attempts functionality, drop sleep_millis. Add some documentation. 2022-10-03 11:38:01 -07:00
Aaron Son
cf639c3585 integration-tests/go-sql-server-driver: Start converting some sql-server bats tests. 2022-10-03 10:01:47 -07:00
Aaron Son
1857806d2d integration-tests/go-sql-server-driver: Proof of concept a declarative approach to integration tests for sql-server interactions.
Converts bats/sql-server-config.bats to use a new approach.
2022-10-01 15:42:22 -07:00
Aaron Son
60f1e45f49 bats: cluster: Add a test for a couple failovers and the new primary having all writes. 2022-09-30 14:32:14 -07:00
Dhruv Sringari
272ca591cf Walk artifacts ref (#4438)
* Walk artifacts ref

* pr comment
2022-09-30 14:18:42 -07:00
Aaron Son
58d33c7152 Merge branch 'aaron/sql-cluster-interceptors-transition-role' into aaron/sql-cluster-graceful-transition 2022-09-30 14:12:23 -07:00
Aaron Son
599d75ca3b Merge branch 'aaron/sql-cluster-standby-is-read-only' into aaron/sql-cluster-interceptors-transition-role 2022-09-30 13:55:54 -07:00
Aaron Son
670e57ec5f Merge branch 'aaron/sql-cluster-transitions-kill-connections' into aaron/sql-cluster-standby-is-read-only 2022-09-30 13:49:47 -07:00
Aaron Son
8d5bc367cc Merge remote-tracking branch 'origin/main' into aaron/sql-cluster-transitions-kill-connections 2022-09-30 13:43:23 -07:00
Aaron Son
0b719f0b24 go: sqle: cluster: Add a role, detected_broken_config, to use when we see two primaries at the same epoch. 2022-09-30 12:28:53 -07:00
Aaron Son
e477a0a3be go: sqle: cluster: client and server interceptors are able to transition server cluster role when they see a newer primary. 2022-09-30 12:28:53 -07:00
Aaron Son
b766895511 go: sqle: cluster: Dolt databases on a standby are read only. They accept writes when the server transitions to primary. 2022-09-30 12:28:53 -07:00
Aaron Son
635bbd46c8 go: sqle: cluster: Add a mechanism to kill inflight queries and connections when transition server role. 2022-09-30 12:28:53 -07:00