Aaron Son
ce544697da
[no-release-notes] integration-tests/go-sql-server-driver: Change our approach to JWTs and X.509 certificates so that we generate what we need when we run the tests.
...
Fixes a bug where we had expiring certificates and JWTs in the repository and
old commits of the repository would stop passing integration tests and some
time in the future.
2023-11-01 12:54:48 -07:00
Aaron Son
8021bc5f02
sqle: cluster: Set the engine to read-only when a replica is in standby mode. Set it back to read-write when it becomes primary.
...
This prevents standby replicas from running some DDL which they were previously
erroneously allowed to run, including CREATE USER, GRANT, CREATE DATABASE and
DROP DATABASE.
2023-09-01 10:47:23 -07:00
Aaron Son
08f91f74a0
go/libraries/doltcore/sqle/cluster: Add replication of user and grant changes from primary to standby replicas.
2023-08-04 11:33:57 -07:00
Aaron Son
c0b0cc42d1
dolt clone: Fix dolt clone run against a sql-server where the database has been GCd.
...
A long-standing bug in the remotesapi which the sql-server exposes could cause
a `dolt clone` to fail when running against a database which had been garbage
collected. This change fixes the bug in the server. It also patches the client
behavior so that it will tolerate responses from older versions of dolt.
2023-06-27 16:41:22 -07:00
Zach Musgrave
0b52f6c424
Revert "Revert "Merge pull request #5968 from dolthub/zachmu/tx-6""
...
This reverts commit bb03b8cb25 .
2023-06-08 11:09:54 -07:00
Zach Musgrave
bb03b8cb25
Revert "Merge pull request #5968 from dolthub/zachmu/tx-6"
...
This reverts commit 51c2129e51 , reversing
changes made to 9692f6ef92 .
2023-06-07 17:27:06 -07:00
Zach Musgrave
9b2cd87c57
Added a README
2023-05-22 13:49:32 -07:00
Zach Musgrave
ae2b616add
Added debug timeouts and a run single test method
2023-05-22 11:41:27 -07:00
Zach Musgrave
5f5dae3ccf
Squash merge from zachmu/session-transaction to get rid of spurious test files
2022-12-21 13:12:31 -08:00
Aaron Son
57523a9323
go/libraries/doltcore/sqle/cluster: Add the ability to generate a keypair, serve a JWKS, and sign outbound RPCs with a JWT.
2022-11-02 09:54:09 -07:00
Aaron Son
248be8b21a
go/libraries/doltcore/sqle/cluster: Add the ability to configure SAN assertions on URIs and DNS names in the server certificate when configuring TLS.
2022-10-28 10:31:14 -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
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
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