Commit Graph

183 Commits

Author SHA1 Message Date
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
zachmu
04e3421d54 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-23 18:20:59 +00:00
Zach Musgrave
aae341b31c Fixing unix import 2023-05-22 13:58:29 -07:00
Zach Musgrave
5a507edda1 Debug options for sql server tests 2023-05-22 11:42:00 -07:00
Zach Musgrave
6552385c17 Fixes for windows process signalling 2023-05-22 09:29:56 -07:00
Zach Musgrave
a46ebe1f9f Added a debug port option to launch dlv, and fixed problems with graceful shutdown on windows 2023-05-19 18:38:38 -07:00
Nick Tobey
6af53091ee Merge branch 'main' of github.com:dolthub/dolt into nicktobey/detached_head 2023-05-17 11:18:12 -07:00
Aaron Son
a5358ff02d go: Catch some stragglers in _test files for an interface change. 2023-05-15 14:17:21 -07:00
Aaron Son
af966fa9fd Add ReplicationStatusController out parameter to some DoltDB write methods. 2023-05-12 16:13:15 -07:00
Nick Tobey
25cdf945c7 Update multienv command to account for new CWBHeadRef signature. 2023-05-11 16:58:01 -07:00
Nick Tobey
4f7d40b118 All users of actions.StageTables and actions.StageAllTables specify whether to filter ignored tables.
Also add `--force` to `dolt add` and `--add-ignored` to `dolt commit`.

Git uses `--force` for both, but we're already using `dolt commit --force` to mean something else.
2023-04-26 16:00:24 -07:00
Andy Arthur
dda28f6788 go/{commands, doltcore/sqle}: added schema conflict resolution 2023-04-24 07:33:39 -07:00
Andy Arthur
21d8bc23ce Merge remote-tracking branch 'origin/main' into andy/locking-journal-manifest 2023-03-27 09:21:41 -07:00
Aaron Son
d1bb4f6807 integration-tests/go-sql-server-driver: Add a test which fails when a non-chunk journal repo first switches to chunk journal and runs call dolt_gc. 2023-03-24 09:43:54 -07:00
Andy Arthur
41c6ab1938 go/store/nbs: added readOnly guard to journal manifest, updated integration tests 2023-03-22 14:51:12 -07:00
Aaron Son
20aef1ab89 integration-tests/go-sql-server-driver: Add some cleanup for the tmpdirs created as part of running these tests. 2023-03-14 11:58:30 -07:00
Aaron Son
2d32f99d1c go/store/types: Thread context in Compare. 2023-03-06 09:46:30 -08:00
Aaron Son
6e61b3a771 go/store/types: Thread ctx through Value.Less. 2023-03-06 09:35:40 -08:00
Zach Musgrave
6fa1e9c0a7 Unexported AddEnv from multi repo env 2023-02-28 11:29:01 -08:00
Aaron Son
7406c4658a go/store/nbs: Fix some quota leaks in conjoin, GC.
Adds a paranoid mode where we noisely detect unclosed table files. The mode can
be enabled by setting an environment variable.

Fixes some unit tests, including all of go/store/... to run cleanly under the
paranoid mode.

Changes the quota interface to:
* Release |sz int| bytes instead of requiring a []byte with the correct length
  to show up.
* Work with |int| instead of |uint64|, since MaxUint64 is never allocatable and
  MaxInt32+z is only allocatable on 64-bit platforms.
* Not return an error on Release(). Implementations should not fail to release
  quota.
2023-02-16 16:01:20 -08:00
jennifersp
d88393713e support push.autoSetupRemote config variable (#4937) 2022-12-07 10:49:15 -08:00
James Cor
93b2fc2786 merge with main 2022-11-10 13:23:57 -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
James Cor
795a81e047 adding index prefix lengths in creation instead of setting 2022-11-10 12:37:02 -08:00
zachmu
0093a168ec [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-11-02 23:06:03 +00:00
Zach Musgrave
d8c7311c75 Unexport vars 2022-11-02 14:59:48 -07:00
Zach Musgrave
b93ff832ec Bug fix 2022-11-02 14:53:50 -07:00
Zach Musgrave
19cccb888b Bug fix, removed some unused methods 2022-11-02 14:50:37 -07:00
Zach Musgrave
d6e24c5fc5 Remove init() method from dtestutils 2022-11-02 14:42:30 -07:00
Zach Musgrave
3272842fec Moved CreateEmptyTestTable out dtestutils 2022-11-01 17:54:45 -07:00
Zach Musgrave
d35aa9224c Remove testify dependency from exported methods in dtestutils/data.go 2022-11-01 16:30:00 -07:00
Zach Musgrave
45243fc950 Remove unused file 2022-11-01 16:21:52 -07:00
Andy Arthur
4e6b3fd113 updated some system table tests in sqle 2022-09-30 15:20:53 -07:00
Andy Arthur
2be413b25e fixed read replica test 2022-09-29 14:23:56 -07:00
Andy Arthur
371e960cea refactored doltcore/sqle testing for new format, switched to new format, many todos 2022-09-29 13:05:50 -07:00
Andy Arthur
b48df04c76 refactoring tests in preparation for format flip 2022-09-28 15:32:43 -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
df0ea99b25 Small refactoring to reduce env dependency 2022-09-21 15:50:04 -07:00
Aaron Son
73f922493e go/libraries/doltcore/remotestorage: Be more permissive in allowed path, only pass repo_path in requests if repo_id cannot be constructed. 2022-09-21 10:26:21 -07:00
jennifersp
51952b84a1 have TempTableFilesDir() return err if .dolt is not found (#4301) 2022-09-16 20:29:21 -07:00
Dhruv Sringari
86972d9c1d Adds dolt_merge_status system table (#4277)
* Add dolt merge status table

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

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-09-07 15:12:43 -07:00
Daylon Wilkins
1ee14d9f74 Add support for table-level collations 2022-08-26 08:10:44 -07:00
Andy Arthur
cae47d06ff cleanup some uses of doltdb.Table.GetNomsRowData 2022-08-24 14:05:20 -07:00
Zach Musgrave
6164b27912 Merge main 2022-08-12 15:18:48 -07:00
Zach Musgrave
85251197d6 Added global auto inc tracker 2022-08-11 15:05:46 -07:00
Zach Musgrave
c3ead00f94 Setting 0 epoch for database initialization in tests 2022-08-11 12:07:46 -07:00
jennifersp
bfc3cfbda0 Support dolt_remote() stored procedure (#3862) 2022-07-20 14:46:28 -07:00
Andy Arthur
faaf7da768 Merge remote-tracking branch 'origin/main' into andy/dolt-docs 2022-07-13 11:15:19 -07:00
Andy Arthur
7b6e77e565 rip out docs 2022-07-05 17:25:28 -07:00