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 |
|
Aaron Son
|
4160bda8ac
|
go: sqle: cluster: Add a mechanism to kill inflight queries and connections when transition server role.
|
2022-09-30 12:20:09 -07:00 |
|
Aaron Son
|
2b53d66772
|
go: sqle: cluster: Have call dolt_assume_cluster_role() transition gracefully when going primary -> standby. Fail if it cannot true-up the peer.
|
2022-09-30 12:07:17 -07:00 |
|
AndyA
|
82ff7f1c53
|
Merge pull request #4431 from dolthub/andy/flip-format
Make NomsBinFormat `__DOLT__` the default format
|
2022-09-30 10:15:10 -07:00 |
|
Andy Arthur
|
b79a10985c
|
update bats for format flip
|
2022-09-30 08:42:12 -07:00 |
|
Aaron Son
|
39a9dcee47
|
go: sqle: cluster: Add a role, detected_broken_config, to use when we see two primaries at the same epoch.
|
2022-09-29 17:17:12 -07:00 |
|
Aaron Son
|
34db06eb68
|
go: sqle: cluster: client and server interceptors are able to transition server cluster role when they see a newer primary.
|
2022-09-29 17:01:30 -07:00 |
|
Andy Arthur
|
1c51085324
|
update init.bats, sysbench runner
|
2022-09-29 16:09:20 -07:00 |
|
Aaron Son
|
b5271155c2
|
go: sqle: cluster: Dolt databases on a standby are read only. They accept writes when the server transitions to primary.
|
2022-09-29 15:40:30 -07:00 |
|
Aaron Son
|
bc8f712274
|
Merge remote-tracking branch 'origin/main' into aaron/sql-cluster-status-procedure
|
2022-09-29 10:10:41 -07:00 |
|
Aaron Son
|
fbdfa0a62a
|
Merge pull request #4422 from dolthub/aaron/cluster-replication-hook
go/libraries/doltcore/sqle: Implement standby replication hook.
|
2022-09-29 10:08:54 -07:00 |
|
James Cor
|
e0bb97d9c7
|
Merge pull request #4318 from dolthub/james/conflicts
implement `call dolt_conflicts_resolve()`
|
2022-09-29 09:59:40 -07:00 |
|
Aaron Son
|
f2a43f1377
|
go: sqle: cluster: Add a dolt_cluster database, exposing a dolt_cluster_status table which queries replication status.
|
2022-09-28 16:01:22 -07:00 |
|
James Cor
|
9cc1d99b1a
|
bad test
|
2022-09-28 15:54:07 -07:00 |
|
James Cor
|
786e892f1c
|
fix tests again
|
2022-09-28 14:11:45 -07:00 |
|
James Cor
|
149720fcaa
|
test fix
|
2022-09-28 13:50:34 -07:00 |
|
James Cor
|
c555f0b16c
|
one last test, probably
|
2022-09-28 13:23:41 -07:00 |
|
James Cor
|
dc18ebb1f5
|
adding foreign key checks
|
2022-09-28 13:12:09 -07:00 |
|
Aaron Son
|
3c12698f09
|
Merge remote-tracking branch 'origin/main' into aaron/cluster-replication-hook
|
2022-09-28 10:49:39 -07:00 |
|
jennifersp
|
4565f37da2
|
turn off opt-in feature for unix socket (#4413)
|
2022-09-28 10:28:01 -07:00 |
|
Aaron Son
|
d29c8f4512
|
Merge remote-tracking branch 'origin/main' into aaron/cluster-replication-hook
|
2022-09-27 17:02:09 -07:00 |
|
Aaron Son
|
a85597c146
|
go: sqle: cluster: fix replication to work on working set updates. first bats test for end-to-end replication to the standby.
|
2022-09-27 17:01:21 -07:00 |
|
Aaron Son
|
c0d0e143bb
|
bats: sql-server-cluster: Add bats test for server failing to start if a local database is missing the standby remote.
|
2022-09-27 14:52:45 -07:00 |
|
Aaron Son
|
98f4321ec8
|
go: sqle: cluster: Add logging to our replication commit hook. Make the commit hook attempt to true-up standby on shutdown.
|
2022-09-27 14:46:38 -07:00 |
|
jennifersp
|
a1e57989bb
|
allow drop current database directory and fix drop db with '-' (#4400)
|
2022-09-27 11:45:07 -07:00 |
|
James Cor
|
6d51206676
|
more tests, and small keyless fix
|
2022-09-27 11:29:20 -07:00 |
|
James Cor
|
d000d35f39
|
i wrote test bad
|
2022-09-27 10:04:20 -07:00 |
|