Commit Graph

134 Commits

Author SHA1 Message Date
Aaron Son 7c1cff7f52 integration-tests/go-sql-server-driver: Fix bug in concurrent_gc_test. 2025-01-30 12:04:52 -08:00
Aaron Son 5826451024 Merge remote-tracking branch 'origin/main' into aaron/dsess-lifecycle 2025-01-30 11:58:56 -08:00
Aaron Son fc3217e92c go: sqle: dolt_gc: Add DOLT_GC_SAFEPOINT_CONTROLLER_CHOICE env variable to control dolt_gc safepoint behavior.
This is a short-term setting which will allow choosing the session-aware
gc safepoint behavior, instead of the legacy behavior which kills all
in-flight connections when performing a GC.
2025-01-28 15:46:46 -08:00
Aaron Son 1b594208aa go/store/nbs: generational_chunk_store.go: In GCMode_Full, also take dependencies on chunks read from OldGen. 2025-01-28 12:02:24 -08:00
James Cor 758627e735 implement implicit commits and fix import behavior (#8767) 2025-01-22 10:27:41 -08:00
Neil Macneale IV 6ce2a0324d More tidy 2025-01-02 13:24:22 -08:00
Zach Musgrave 59314e926c Merge pull request #8645 from dolthub/zachmu/load-vars
Removed persitence behavior from config
2024-12-06 15:37:09 -08:00
Zach Musgrave 324e4bb5ed Removed unused tests 2024-12-06 15:08:23 -08:00
coffeegoddd 00732cb5e0 /{.github,go,integration-tests}: bump go 2024-12-02 17:05:37 -08:00
Dustin Brown 5e44ddd7e1 [auto-bump] [no-release-notes] dependency by max-hoffman (#8573)
* [ga-bump-dep] Bump dependency in Dolt by max-hoffman

* fix build

* [no-release-notes] bump

* tidy

* fix license

* test driver mod

* try updating work sum

---------

Co-authored-by: max-hoffman <maximilian.wolfgang1@gmail.com>
2024-11-20 10:14:18 -08:00
coffeegoddd f81e847f74 /integration-tests/go-sql-server-driver: run go mod tidy in integration-tests/go-sql-server-driver 2024-09-16 10:42:54 -07:00
Brian Hendriks 6b3cd4b68d go tests for signing 2024-09-13 00:43:53 -07:00
Jason Fulghum 2112309acd go mod tidy for sql-server integ tests 2024-06-26 13:04:18 -07:00
jennifersp 4c704c3dae add SchemaName to DatabaseSchema interface (#8062) 2024-06-25 15:35:14 -07:00
Jason Fulghum 039a79d811 Updating tests for addition of performance_schema 2024-06-24 14:18:08 -07:00
Jason Fulghum 5ff76cd8ab Updating go version number in go.mod for go-sql-server-driver tests to match the go version number in Dolt's main go.mod 2024-05-17 14:56:17 -07:00
Jason Fulghum 8c315efb28 Removing second show warnings call in branch control block on write replication test 2024-05-13 16:10:34 -07:00
Jason Fulghum 535460aed9 bumping x/crypo|sys for sql-server integ tests 2024-05-09 19:41:22 -07:00
Maximilian Hoffman 5600e2689f Fix nil write session panic (#7792)
* Fix nil write session panic

* invert check

* zach comments

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2024-04-29 17:23:54 -07:00
coffeegoddd 7c710dd211 /{.github,go,integration-tests}: bump go version 2024-03-27 14:02:28 -07:00
Aaron Son 10bfb3c31b integration-tests/go-sql-server-driver: go mod tidy. 2024-03-15 10:11:31 -07:00
Aaron Son 4e5febf8b1 Merge pull request #7482 from dolthub/aaron/cluster-standby-takes-epoch-from-primary
go: sqle/cluster: When in standby mode, take the epoch of the primary.
2024-02-14 12:15:27 -08:00
Aaron Son f77d4c494a go: sqle/cluster: When in standby mode, take the epoch of the primary. When in detected_broken_config, become standby if we see a higher numbered primary. 2024-02-09 14:32:06 -08:00
James Cor c98d46058c fix test 2024-02-09 01:28:12 -08:00
Jason Fulghum aacaff1f76 Fixing test references for non-explicitly specified SESSION sys vars 2024-01-17 15:56:53 -08:00
coffeegoddd 50d102ef7b fix ci 2023-12-26 17:05:24 -08:00
coffeegoddd bf760cb03f /integration-tests/go-sql-server-driver/go.{mod,sum}: run go mod tidy 2023-12-26 16:47:24 -08:00
Neil Macneale IV cdab41d56d [no-release-notes] upgrade crypto (#7206)
* Bump golang.org/x/crypto in /integration-tests/go-sql-server-driver

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /go

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 12:38:06 -08:00
Dustin Brown 10cac7a4c2 [auto-bump] [no-release-notes] dependency by jennifersp (#7189) 2023-12-18 16:15:18 -08:00
Aaron Son b7b3f7b911 integration-tests/go-sql-server-driver: Fix tests. 2023-12-15 13:55:24 -08:00
Aaron Son 09d9d0312e integration-tests/go-sql-server-driver: Small tweak for TestCluster/adding_new_remotes_to_the_config_creates_those_remotes_on_startup. 2023-12-15 13:03:28 -08:00
Aaron Son 0fbfd0d80a go: sqle: cluster: Create missing remotes for cluster replication on startup if they do not already exist.
Previously `dolt sql-server` would error if there were existing databases and
they were missing any of the remotes listed as cluster replication remotes in
the config.yaml. This changes it so that those remotes are automatically
created at startup instead.
2023-12-15 12:49:11 -08:00
Aaron Son 14efec1153 go: sqle: cluster: Fix MySQLDb and dolt_branch_control replication for the cases where you have more than one standby server in the cluster.
Previously these changes would only get replicated to the first database in the cluster.
2023-12-14 15:11:31 -08:00
Zach Musgrave 6cdd0fbefd Merge main, resolve new event conflict 2023-12-04 10:25:52 -08:00
Zach Musgrave d31758468d go mod cleanup 2023-12-01 17:44:27 -08:00
Taylor Bantle a0c0fa6e51 Fix existant typo 2023-12-01 11:10:55 -08:00
Aaron Son 67535bbda1 go/cmd/dolt: sql-server.lock/sql-server.info changes. PR feedback. 2023-11-30 12:01:43 -08:00
Aaron Son 2e9546d902 integration-tests/go-sql-server-driver: sqlserver_lock_test.go: Add a test documenting the current odd behavior where you can run two sql-servers against the same directory if they have no DoltDBs. 2023-11-29 17:57:06 -08:00
Aaron Son 634bdf3e30 integration-tests/go-sql-server-driver: sqlserver_lock_test.go: Add some integration tests for sql-server.lock file handling. 2023-11-29 14:28:04 -08:00
Aaron Son 0913c5eb8c integration-tests/go-sql-server-driver: sql-server-cluster-users-and-grants.yaml: branch_control_block_on_write_replication: Add an assertion on a connection to server2 after the branch control perms replicate, to ensure we don't send the TERM signal to the server process at the end of the test before it is fully started up. 2023-11-10 15:03:50 -08:00
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
Neil Macneale IV 85155eda22 dependabot squash (#6916)
* Bump golang.org/x/net from 0.15.0 to 0.17.0 in /go

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump golang.org/x/net in /go/gen/proto/dolt/services/eventsapi

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump google.golang.org/grpc from 1.57.0 to 1.57.1 in /go

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.57.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.57.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump google.golang.org/grpc in /go/gen/proto/dolt/services/eventsapi

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy on integration-tests/go-sql-server-driver

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 11:00:36 -07:00
Aaron Son bbe8070270 integration-tests/go-sql-server-driver: sql-server-cluster.yaml: Add a test for dolt_cluster_transition_to_standby when there are no dolt databases. 2023-10-18 14:40:24 -07:00
Aaron Son 0c72ec5205 go: sqle: cluster: Take mysql and dolt_branch_control replication state into account when performing a graceful transition to standby. 2023-10-17 15:01:46 -07:00
Aaron Son 17c451c12e Merge remote-tracking branch 'origin/main' into aaron/undrop-cluster-tests 2023-10-06 17:20:22 -07:00
Aaron Son dcc009509e Merge remote-tracking branch 'origin/fulghum/undrop' into aaron/undrop-cluster-tests 2023-10-06 17:20:15 -07:00
Aaron Son de3eed8b73 go: sqle: cluster: Make users and grants replication respect dolt_cluster_ack_writes_timeout_secs. 2023-10-06 15:46:42 -07:00
Aaron Son 6376098755 go: sqle: cluster: Make branch control replication respect dolt_cluster_ack_writes_timeout_secs 2023-10-06 14:33:33 -07:00
Aaron Son dd798b09f4 integration-tests/go-sql-server-driver/go.mod: Use golang 1.21. 2023-10-05 13:51:36 -07:00
Aaron Son b381903a2f integration-tests/go-sql-server-driver: Add a test for undropping a cluster replicated database. 2023-10-04 10:14:20 -07:00