Commit Graph

150 Commits

Author SHA1 Message Date
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
Dhruv Sringari
fefe68f6df remove log redirection 2022-03-04 14:17:16 -08:00
Dhruv Sringari
cd2d5290b1 fix close 2022-03-04 13:51:37 -08:00
Dhruv Sringari
3ab70d8b84 better log entries 2022-03-04 13:46:25 -08:00
Dhruv Sringari
96240e664b add happy path logging 2022-03-04 13:44:39 -08:00
Dhruv Sringari
b6cf9de9b4 fix cast 2022-03-04 13:36:23 -08:00
Dhruv Sringari
e631e9bdf4 io.Copy from file io.ReaderClose to response writer to get smaller http chunking 2022-03-04 13:30:12 -08:00
Zach Musgrave
ebc1f090b6 Removed deleted file from copyright check script 2022-02-14 12:17:24 -08:00
Aaron Son
6a484e7884 Fix copyright headers for reorganized pull code. 2022-01-31 12:51:51 -08:00
Andy Arthur
e4d0b9b42d added Attic copyright headers 2022-01-05 13:29:20 -08:00
Aaron Son
2014c80bd8 go/utils/copyrighthdrs: Allowlist 2022. 2022-01-03 15:06:00 -08:00
Aaron Son
8b72e81092 go/utils/publishrelease,.github: Publish darwin-arm64 releases and make them work with install.sh. 2021-11-18 16:29:07 -08:00
Brian Hendriks
50a727ae1f added for M1 machines 2021-11-10 16:43:14 -08:00
Maximilian Hoffman
4eba5cb02c add host option for docker-compose workflows (#2239)
* add host option for docker-compose workflows

* [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-08 11:34:42 -07:00
Eng Zer Jun
8164a625c7 refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-05 01:40:59 +08:00
Aaron Son
cdcf9b7411 Merge remote-tracking branch 'origin/master' into aaron/dbfactory-grpc-dialer-through-params 2021-09-10 10:41:52 -07:00
Aaron Son
7fe09e2c5c Fix some unbuffered channels passed to signal.Notify. 2021-09-09 12:17:40 -07:00
Zach Musgrave
8d2a91571d Fixed signal lint errors 2021-09-09 10:46:54 -07:00
Daylon Wilkins
555c9a6eab Added escape-analysis script for Windows 2021-09-07 14:26:57 -07:00
Andy Arthur
20419853d4 added setup info 2021-09-06 12:16:19 -07:00
Andy Arthur
376b53c412 fixed up filewatcher output 2021-09-06 12:10:58 -07:00