Commit Graph

167 Commits

Author SHA1 Message Date
Aaron Son e1d37213cc go/libraries/doltcore/env: Move the relevant *DBLock stuff into cmd/commands/sqlserver as LocalCreds. 2023-11-28 18:56:09 -08: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
Aaron Son 0edcf6c4ff [no-release-notes] integration-tests,SysbenchDockerfile: Bump to golang 1.21.2 in Dockerfiles. 2023-10-06 10:45:32 -07:00
zachmu 9c57399740 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-09-27 22:14:05 +00:00
Zach Musgrave 4d9d2c9446 Moved all env constants to a new dconfig package 2023-09-26 12:00:00 -07:00
Maximilian Hoffman d3c1ca4828 [no-release-notes] sysbench harness edits (#6605)
* [no-release-notes] sysbench harness edits

* fix yaml formatting
2023-09-06 14:10:04 -07:00
Jason Fulghum 0e01567560 Allowing tpcc-config.json 2023-08-03 16:13:52 -07:00
coffeegoddd 7188cddc25 /go/performance/continuous_integration: install sysbench from source 2023-07-18 13:03:41 -07:00
coffeegoddd 5b52e07c16 /go/performance/continuous_integration/SysbenchDockerfile: change distro from buster to bullseye 2023-07-18 11:41:46 -07:00
zachmu 180ec1999c [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-06-28 21:47:19 +00:00
Zach Musgrave 4f8f25312f Merge branch 'main' into ioutil 2023-06-28 14:37:20 -07:00
guoguangwu bab16e35c0 chore: fmt modify 2023-06-27 17:00:01 +08:00
guoguangwu a84e257645 chore: remove refs to deprecated io/ioutil 2023-06-26 14:39:28 +08:00
Maximilian Hoffman 7db9bf2d42 [no-release-notes] Silent error during forkExec if empty trailing arg (#6141) 2023-06-12 15:29:17 -07:00
Neil Macneale IV 2dd8ad68f9 Update Go tests to use CliContext with an SqlEngine 2023-05-05 11:46:47 -07:00
Neil Macneale IV 5dc0e318c1 Update two missed go tests 2023-05-03 10:09:33 -07:00
Neil Macneale IV 471c163cdf Fix tests by passing in an empty CliContext 2023-04-26 13:39:04 -07:00
Neil Macneale IV a6d02445fe Add the CliContext parameter to Command.Exec (#5779)
Related to: https://github.com/dolthub/dolt/issues/3922
2023-04-20 14:54:30 -07:00
Andy Arthur c2e8839485 go/perf/sysbench: reconfigure MySQL to write durably 2023-03-08 10:15:10 -08:00
Zach Musgrave 6fa1e9c0a7 Unexported AddEnv from multi repo env 2023-02-28 11:29:01 -08:00
zachmu ae236225f2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-02-28 02:10:20 +00:00
Zach Musgrave 28444512c5 Getting rid of initial DB engine config 2023-02-27 16:12:40 -08:00
Zach Musgrave 5e6027a516 Migrate uses of NewContext 2023-02-22 10:13:14 -08:00
Zach Musgrave e77ae77452 Changed types2 import alias to gmstypes everywhere 2023-01-24 11:53:44 -08:00
Maximilian Hoffman d566687435 System Table to-commit/commit-hash lookups (#5137)
* System table commit indexes

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

* tidy

* docstrings and bad hash tests

* exclude ld

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

* bad import

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

* skip LD system table indexing testt

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

* skip LD dolt scripts

* shift validation burden to indexes

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

* fix bats

* fix non-determinism

* fix copyright header

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-01-18 17:58:35 -08:00
Zach Musgrave 8474e39df6 Merge main 2023-01-17 14:04:53 -08:00
Maximilian Hoffman 1e356d3562 Edit systab tests (#5141) 2023-01-12 17:38:46 -08:00
Zach Musgrave ad4bf92b95 Dolt changes for sql types package 2023-01-09 11:21:34 -08:00
Andy Arthur 3f62239e07 update performance/scripts/local_sysbench.sh 2022-12-21 21:39:14 -08:00
Maximilian Hoffman 6eea826814 Update systab_summary.sql 2022-12-16 15:01:40 -08:00
Maximilian Hoffman c5602595c8 Update summary.sql 2022-12-16 15:00:34 -08:00
Maximilian Hoffman 05fd59db71 Update summary.sql 2022-12-16 14:36:50 -08:00
Maximilian Hoffman 0143ffe533 Sysbench summaries for testing (#5017)
* add summaries

* fix bugs
2022-12-16 13:51:08 -08:00
Maximilian Hoffman 8aa3c5a424 Update testdef.go 2022-12-15 20:53:18 -08:00
Maximilian Hoffman 24544035bc Systab edits (#4974)
* edit

* no median or variance

* revert readme edit

* Edits

* edits

* all read/write tests
2022-12-12 18:46:12 -08:00
Maximilian Hoffman cde420a5cb [no-release-notes] systab bench edits (#4964)
* edit

* no median or variance

* revert readme edit
2022-12-09 14:15:05 -08:00
Max Hoffman 6748bdae99 restore all systab CI tests 2022-12-09 11:59:01 -08:00
Maximilian Hoffman 7b473fd892 new sysbench runner and CI for systab (#4942)
* prototype for new sysbench runner

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

* CI jobs

* edits

* nightly and release workflows

* param tweaks

* testing edits

* fixes

* fix test

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-12-09 09:50:45 -08:00
Andy Arthur edcc243c13 added chunkJournal, journalWriter, and journalChunkSource 2022-11-28 14:54:11 -08:00
Maximilian Hoffman fc46082dcf Blob chunker rewrite (#4825)
* Fix mising projection on indexed table

* add test

* rewrite

* cleanup

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

* blob test

* Fix tests

* node arena

* delete stale

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

* docs

* more cleanup

* add newline

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

* aaron's rewrite

* benchmarks

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

* concurrency safe blob builder

* fmt

* pointer to pool

* test nodeStore edits

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-11-21 15:46:17 -08:00
Maximilian Hoffman 2240cd2da7 delete old files (#4757) 2022-11-11 08:14:44 -08:00
Max Hoffman e7cbcb9ac9 Restore import CI tests 2022-11-10 15:26:35 -08:00
Max Hoffman 9cf3fa007f smaller import perf CI test 2022-11-10 14:39:40 -08:00
Max Hoffman a659cbbdaf import CI edits 2022-11-10 14:29:36 -08:00
Max Hoffman 083ea4abf4 shorted import ci for testing 2022-11-10 13:23:10 -08:00
Maximilian Hoffman 08167dfd5d Redo import perf (#4689)
* import perf harness prog

* more test isolation

* rework common dep

* fix server driver

* delete old files, fix readme

* more readme fixes

* batching edits

* edits

* skip import tests by def

* GA starter

* rename

* fix arg name

* change input name again

* remove espaced character from input desc

* fix env definition

* fix env definition

* fix workflow_dispatch name

* CI test files

* remove os spec

* runs on

* different set variable

* defaults

* defaults

* remove local GMS

* edits

* run bench from go/ directory

* dropped def equals

* go run, not go build

* fix output command name

* configure dolt

* fix query file path

* fix query file path

* switch query and inputs

* fix format <<EOF

* reformat yaml

* debug output

* more debug output

* fix echo -> cat

* fix to json flag

* fix yaml spacing

* yaml spacing

* yaml spacing

* revert html spacing

* json format

* env var expansion

* echo not cat

* another json string printing error

* no echo

* log template

* no template string

* wrong parameter, template should be templateName

* remove console.log

* pass file, not string, to ses

* rely on preexisting template? email action interface

* fix yaml

* fix html print

* fix html header

* change ci script

* fix sql-server connection pass

* mysql no password, setup default db

* put password back

* missed port for default database

* expanded CI tests

* shorter test file

* extend ci tests

* change default query

* try to push to dolthub

* modify push to dolthub

* duplicate test names

* typo

* dolt-action version

* invalid param for dolt_action

* specify feature branch

* specify main branch dolt-action

* -b flag first

* dont need -q flag for batch EOF

* combine results and dolthub push

* missing curly brace

* no auth

* new creds

* new cred fun

* use the cred key

* try again

* log table

* move push out of batch

* more logging

* new vs old branch

* fix branch rule

* more test

* all tests

* smaller tests

* smaller tests

* double env: key

* fix yaml error

* more yaml errors

* more yaml errors

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

* linting fixes, remove other import nightly

* linting

* go vet

* licenses

* fix compile errorrs

* warn don't panic on init()

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

* no external package

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

* unused dep

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

* Revert perf scripts

* refactor to repo dispatch

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-11-10 12:56:43 -08:00
coffeegoddd 2c20d61589 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-10-10 23:42:41 +00:00
coffeegoddd ecb349a1e5 /go/performance/import_benchmarker: better err handling 2022-10-10 16:41:06 -07:00
Andy Arthur c6437df6e4 fix env bootstrapping for clone 2022-09-29 16:15:12 -07:00
Andy Arthur 1c51085324 update init.bats, sysbench runner 2022-09-29 16:09:20 -07:00