Commit Graph

15 Commits

Author SHA1 Message Date
Aaron Son 60cbf4726f go: cmd/dolt: sqlserver: Create a Config struct to encapsulate arguments that control sqlserver.ConfigureServices behavior.
Allow configuring the ProtocolListenerFactory through ConfigureServices.
2025-03-05 15:44:17 -08:00
Jason Fulghum f14376d773 pr feedback: removing SkipRootUserInitialization from ServerConfig interface and from YAML config 2025-01-14 17:52:32 -08:00
Brian Hendriks 2e6b5a5452 formatting 2024-05-15 10:33:40 -07:00
Brian Hendriks b6cd726af3 move config 2024-05-15 10:27:16 -07:00
Aaron Son 23dc3ed014 cmd/dolt/commands/sqlserver: Restructure the start up sequence for sql-server.
We explicitly model Services, which can have an Init step, a Run step and a
Stop step. Every registered service get initialized in the order they were
registered in, then they all run concurrently until Stop is called, when they
all get Stopped in reverse order. It's possible for clients to wait for init to
be completed and be delivered any errors encountered on startup. They can also
wait for stop, to be delivered any errors encountered on shutdown.
2023-11-14 16:58:55 -08:00
Zach Musgrave 6fa1e9c0a7 Unexported AddEnv from multi repo env 2023-02-28 11:29:01 -08:00
Zach Musgrave bbd5818393 Renamed some consts 2022-08-11 16:25:12 -07:00
Taylor Bantle 7d8c914275 Add AllowCleartextPasswords to server config 2022-07-21 11:07:00 -07:00
Maximilian Hoffman d5ec4382a6 Only rebase transaction start for read replica (#3722)
* Only rebase transaction start for read replica

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

* missed var names

* another var name

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

* server lock file

* put serverLockFile in dsess

* better multiEnv locking

* more doc comments

* zach's comments

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-07-01 17:02:09 -07:00
Maximilian Hoffman 0cbd7e780c Async push for replication (#2369)
* starter code

* async replication prototype

* benchmark async push

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

* delete hanging line

* add comment for concurrent map access

* move replication into databaseProvider

* top-level wait group for async threads

* fix testsg

* standardize wg format

* missing header

* address data race

* make async test shorter

* delete unnecessary lines

* starter code for new sqlEngine interface

* new engine interface with background threads

* brian's comments

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

* missed a datarace

* fix bats

* bad go.sum

* add latest GMS commit

* bump GMS

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-12-11 13:41:58 -08:00
Zach Musgrave 20e4f9b015 Merge pull request #2364 from dolthub/zachmu/sql-create-polish
Better support for sql outside a database directory
2021-11-09 16:50:38 -08:00
Zach Musgrave 576753d38c Added failsafe values to dolt CLI config, only in sql context for now 2021-11-08 12:26:52 -08:00
Max Hoffman faf2e45f91 merge replication warnings PR 2021-11-08 10:26:21 -08:00
Zach Musgrave 9f177fec26 Finished fixing compile errors 2021-11-04 10:53:15 -07:00
Maximilian Hoffman ca5ae29dd1 replica benchmark, no event progress for server (#2258)
* small push on write perf benchmark with no prog channel

* remove unused prog funcs

* remove unused prog funcs

* fix bench name

* [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>
2021-10-28 15:34:04 -07:00