Commit Graph

170 Commits

Author SHA1 Message Date
Aaron Son
28eae949cb go/utils/copyrightshdrs: Cleanup noms_version reference. 2023-03-07 15:06:01 -08:00
jennifersp
96855527a4 support CLI dolt stash command (#5422) 2023-03-03 16:25:24 -08:00
Aaron Son
484e042b68 go/store/nbs: Remove unnecessary fdCache. Just use clone() and Close() on the tableReaderAt. 2023-02-27 12:03:46 -08:00
Taylor Bantle
be862d796c Rename dolt diff --summary to dolt diff --stat, remove some unused code 2023-02-22 13:41:46 -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
Taylor Bantle
71011d6402 Remove noms_sync path 2023-01-12 10:24:27 -08:00
Taylor Bantle
6c0582bb98 Remove pull files from copyrightshdrs 2023-01-12 10:24:14 -08:00
Aaron Son
e9ce266733 go/cmd/dolt/commands/sqlserver: Allow a server in a cluster to configure which address it listens on for replication traffic. 2022-12-02 11:36:49 -08:00
AndyA
c26da29d2c Merge pull request #4703 from dolthub/andy/nbs-memory-quota
go/store/nbs: fix memory accounting for `MemoryQuotaProvider`
2022-11-04 14:23:58 -07:00
Andy Arthur
a6e8e99814 replace persiste_chunk_source.go in go/utils/copyrightshdrs/main.go with empty_chunk_source.go 2022-11-03 20:07:06 -07:00
Zach Musgrave
64a356f25c Remove two deleted noms files from copyright check 2022-11-02 17:18:53 -07:00
Aaron Son
db67f086f6 go/utils/remotesrv: Fix NewServer usage. 2022-10-25 16:29:12 -07:00
James Cor
04683142b6 why 2022-10-07 16:47:44 -07:00
Aaron Son
91a09258ec go: remotesrv: Use RepoPath when it is provided. 2022-09-21 11:55:58 -07:00
Aaron Son
97ea3ba119 go/libraries/doltcore/remotesrv: Pass server arguments in ServerArgs struct. 2022-09-14 15:48:52 -07:00
Dhruv Sringari
73a1e5cae3 Fixes progress reporting bugginess (#4334)
* WIP

* fix windows panic

* tidy up and add some tests

* cleanup more

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

* upgrade package and bypass colored writer

* copyright

* fix license

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

* fix bypassing

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-09-14 12:49:32 -07:00
Aaron Son
c9c542e4d6 go/libraries/doltcore/remotesrv: Move logging to logrus. 2022-09-13 14:11:01 -07:00
Aaron Son
c094e249f0 go/libraries/doltcore/remotesrv: Improve usability of Serve() by making it so it does not error. 2022-09-13 11:55:31 -07:00
Aaron Son
6099c71966 go/utils/remotesrv: Allow http-port and grpc-port to be the same. Allow GRPC server to echo :authority header if no -http-host is supplied. 2022-09-12 15:54:27 -07:00
Aaron Son
af64b04ad2 go/utils/remotesrv: Facilitate reuse by moving server code to a library. 2022-09-12 13:53:05 -07:00
Aaron Son
783d5dc611 go/utils/remotesrv: Add a -read-only flag for exposing a remote endpoint that rejects write requests. 2022-09-06 13:22:30 -07:00
Aaron Son
3082fed32e go/utils/remotesrv: Make remotesrv capable of serving as a name-agnostic remote for a single dolt repository made with dolt CLI. 2022-09-02 12:21:09 -07:00
Aaron Son
9345cbcb98 go/store/nbs: Keep GetChunkLocations, make a new GetChunkLocationsWithPaths. 2022-09-02 11:23:38 -07:00
Aaron Son
564afdbaee go/utils/remotesrv: Further improve remotesrv's support for generational chunk stores and different filesystem layouts. 2022-09-01 17:05:07 -07:00
Aaron Son
ccd8a13548 go/utils/remotesrv: Iterate on supporting generational chunk stores. 2022-09-01 15:31:52 -07:00
Aaron Son
6487f317bd go/utils/remotesrv: Make http server use TableFileStore.WriteTableFile() instead of writing directly against storage.. 2022-08-31 16:15:41 -07:00
Aaron Son
faea605f44 go/utils/remotesrv: Make shuffling TableFileDetails from grpc to http race-free by using a *sync.Map. 2022-08-31 14:18:42 -07:00
Aaron Son
dd4b3e06dc go/utils/remotesrv: Through DBCache through to http server so we can use WriteTableFile eventually. 2022-08-31 14:06:55 -07:00
Aaron Son
09981d5cd8 go/utils/remotesrv: grpc.go: Use TableFileStore.Size() to get size in GetRepoMetadata. 2022-08-31 13:21:46 -07:00
Timothy Sehn
93c677ea48 Kill git-dolt 2022-08-24 11:09:58 -07:00
Zach Musgrave
7542dc5866 Removed copyright notice checks for deleted noms files 2022-08-22 10:03:58 -07:00
Dhruv Sringari
241cf79018 Add storage format information to dolt version and add new sql function dolt_storage_format(). Add dolt init --new-format (#4068)
* wip

* add bats

* remove unused

* add SELECT dolt_storage_format()

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

* prepared test

* rename skip_nbf_dolt_1 to skip_nbf_dolt

* multidb mode should load databases based on DOLT_DEFAULT_BIN_FORMAT

If there is a database in ./.dolt then we use its format to search for other compatible formats.

If there is no database in ./.dolt then we use `DOLT_DEFAULT_BIN_FORMAT` to search for other compatible formats.

* fix bats

* fix check_prepared_tests.sh

* fix bats

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-08-11 21:04:58 -07:00
Maximilian Hoffman
21716bd973 edit prep workflow script (#3954) 2022-07-28 13:24:46 -07:00
Maximilian Hoffman
849d526c25 Count prepared tests (#3952)
* add test scropt, format should fail

* script edit

* add count

* working dir for script

* try to change count

* add exit 1

* move check to other workflow

* fix count
2022-07-28 13:08:43 -07:00
Max Hoffman
410416cb35 add check prepared script 2022-07-28 12:09:09 -07:00
Abirdcfly
e84b07a572 fix minor log.Fatalln output
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-22 17:19:20 +08:00
Maximilian Hoffman
43c3d8d068 Remotesrv more verbose errors (#3751)
* Remotesrv more verbose errors

* Update go/utils/remotesrv/grpc.go

Co-authored-by: Aaron Son <aaron@dolthub.com>

Co-authored-by: Aaron Son <aaron@dolthub.com>
2022-07-05 09:10:21 -07:00
Jason Fulghum
1bef06349d Adding support for building and installing for Linux OS on Mac arm64/aarch64 hardware 2022-06-29 17:47:34 -07:00
Vinai Rachakonda
5e333b0e8f Fix error message for DOLT_MERGE conflicts (#3413) 2022-05-17 19:56:09 -04:00
Andy Arthur
516d8302b5 pr feedback 2022-05-17 11:20:01 -07:00
Andy Arthur
7e682300d4 added concurrent query util 2022-05-17 11:13:52 -07:00
Aaron Son
02c5bb0875 go: Remove some unprincipled usage of types.Format_Default in non-test code. 2022-05-10 12:57:00 -07:00
Aaron Son
d8f3b46f1a go/store/types: Remove types.WalkValues. 2022-05-06 13:20:45 -07:00
Andy Arthur
38cc5d637d fix copyright headers 2022-04-21 14:13:42 -07:00
Dhruv Sringari
a311e579c6 fix copyright, add close opened cs test 2022-04-14 19:17:57 -07:00
Aaron Son
6e12e87b67 go/store/types: Remove unused sort.Interface impl for RefSlice. 2022-04-04 13:26:01 -07:00
Dhruv Sringari
2e38b25dbc thread memory quota provider through tableSet 2022-03-24 12:27:41 -07:00
Aaron Son
7a328fff7d Update copyrighthdrs. 2022-03-17 08:46:47 -07:00
Aaron Son
3528a970b2 copyrighthdrs: Remove commit_meta_test.go. 2022-03-10 14:04:54 -08:00
Dhruv Sringari
55c1cfdecd Update go/utils/remotesrv/http.go
Co-authored-by: Aaron Son <aaron@dolthub.com>
2022-03-04 14:49:23 -08:00