Commit Graph

1341 Commits

Author SHA1 Message Date
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
Dhruv Sringari 272ca591cf Walk artifacts ref (#4438)
* Walk artifacts ref

* pr comment
2022-09-30 14:18:42 -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
Andy Arthur 1c51085324 update init.bats, sysbench runner 2022-09-29 16:09:20 -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
Aaron Son 4261b3692e go: sqle: cluster: First pass at install replicate-to-standby commit hooks on server start. 2022-09-27 09:53:34 -07:00
James Cor 9a33753130 test format 2022-09-26 10:29:45 -07:00
James Cor 76d9eec826 Merge branch 'main' into james/conflicts 2022-09-26 10:03:11 -07:00
jennifersp 691997b87a support dolt_diff_summary_table_function (#4363) 2022-09-26 09:48:58 -07:00
Aaron Son 64029df56b go: sqle: database_provider: In cluster mode, create the standby remote when we create a database. 2022-09-23 15:04:42 -07:00
James Cor c05244936a Merge pull request #4399 from dolthub/james/bindvars
adding prepared tests for dolt stored procedures
2022-09-23 12:35:41 -07:00
Aaron Son e01f7aa7d7 Merge pull request #4394 from dolthub/aaron/sql-variables-cluster-role-and-epoch
sql-server: Implement dolt_cluster_role, dolt_cluster_role_epoch variables, dolt_assume_cluster_role procedure.
2022-09-23 11:44:55 -07:00
James Cor fc2e07ed6b fixing test 2022-09-22 16:16:46 -07:00
James Cor 4a301966a6 there are lots of bugs, not ready 2022-09-22 13:06:32 -07:00
Aaron Son 09bed9471d sql-server: Add dolt_assume_cluster_role procedure.
Currently implements rules around epoch changes and updates the persisted and
global session variables.
2022-09-22 11:53:15 -07:00
Aaron Son 13e8cab325 sql-server: Add read-only handling for cluster role and role_epoch system variables. 2022-09-22 10:04:32 -07:00
Zach Musgrave aa521524a2 Merge pull request #4389 from dolthub/zachmu/dolt-commit-race
Fix race for concurrent dolt_commit calls
2022-09-22 09:23:50 -07:00
Zach Musgrave 2cde333fbd New node test for concurrent dolt_commit 2022-09-21 17:21:55 -07:00
Aaron Son 2a56d984c5 Merge pull request #4387 from dolthub/aaron/remotestorage-remotesrv-support-repo-path
remotestorage,remotesrv: Be less restrictive in repository paths for remotesapi repos that are not served through dolthub.
2022-09-21 16:41:30 -07:00
Aaron Son 9ce8016719 Merge pull request #4383 from dolthub/aaron/sql-server-read-repica-force-pull-setting
go/libraries/doltcore/sqle: ReadReplicaDatabase: Add variable for force pulling remote branches.
2022-09-21 16:37:20 -07:00
James Cor 23b5bdcf80 Merge branch 'main' into james/conflicts 2022-09-21 14:04:08 -07:00
Tim Sehn 29ba8f417f Merge branch 'main' into tim/fix-bats 2022-09-21 12:50:08 -07:00
Aaron Son 91a09258ec go: remotesrv: Use RepoPath when it is provided. 2022-09-21 11:55:58 -07:00
Dhruv Sringari 8c8f27d2ad Implement merge stats for the new format (#4384)
* Add prolly.MergeMapsWithStats

* don't use a callback to update merge stats

* thread merge stats through doltcore/merge
2022-09-21 10:55:49 -07:00
Tim Sehn 338f54ab4e Added missing closing backtick 2022-09-20 17:22:31 -07:00
Tim Sehn ec5f51040f Improved parquet tests and added docs on how to get them to work 2022-09-20 17:21:29 -07:00
Tim Sehn 49f07dc2b7 Updated bats README and a test to make it easier to get started 2022-09-20 15:56:32 -07:00