Commit Graph

15192 Commits

Author SHA1 Message Date
Aaron Son
526b9a3429 proto,go: Add RepoPath field to remotesapi Request messages. Pass it along in remotestorage ChunkStore. 2022-09-15 10:50:37 -07:00
Aaron Son
8ecdfacc8e Merge pull request #4348 from dolthub/aaron/remotesrv-pass-upload-tablefiledetails-as-query-params
go/libraries/doltcore/remotesrv: When uploading a file, pass table file details to the HTTP handler as query params in the URL, instead of stashing them in a shared map.
2022-09-15 09:19:06 -07:00
Aaron Son
0f8a9f16fc Merge pull request #4345 from dolthub/aaron/sql-server-remotesapi-read-replication
[no-release-notes] bats: sql-server-remotesrv.bats: Add a bats test for sql-server read replica running against a sql-server --remotesapi-port remote.
2022-09-14 16:44:16 -07:00
Aaron Son
f19ac3e13a Merge pull request #4346 from dolthub/reltuk-ab36b884
[auto-bump] [no-release-notes] dependency by reltuk
2022-09-14 15:47:18 -07:00
reltuk
f7b39e4b62 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-14 22:26:29 +00:00
Aaron Son
56b7fe4325 go/libraries/doltcore/remotesrv: When uploading a file, pass table file details to the HTTP handler as query params in the URL, instead of stashing them in a shared map. 2022-09-14 15:24:22 -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
reltuk
413c6f3af3 [ga-bump-dep] Bump dependency in Dolt by reltuk 2022-09-14 19:11:38 +00:00
Aaron Son
966f53a873 bats: sql-server-remotesrv.bats: Add a bats test for sql-server read replica running against a sql-server --remotesapi-port remote. 2022-09-14 11:38:09 -07:00
Aaron Son
30ca51423e Merge pull request #4336 from dolthub/aaron/sql-server-can-run-read-only-remotesrv
sql-server: Let sql-server expose a remotesapi service to allow cloning, fetching and read replication from its databases.
2022-09-14 11:10:08 -07:00
Zach Musgrave
43a41646f5 Merge pull request #4325 from dolthub/zachmu/kill-pipeline
[no-release-notes] Refactoring: killed off last lingering uses of pipeline package
2022-09-14 10:49:36 -07:00
Aaron Son
05a388b684 .gitmodules: Use HTTPS transport for flatbuffers submodule instead of SSH. 2022-09-14 09:58:27 -07:00
Dustin Brown
7e9c155773 [auto-bump] [no-release-notes] dependency by fulghum (#4338) 2022-09-14 09:12:03 -07:00
Daylon Wilkins
6d8ecabce0 Merge pull request #4341 from dolthub/daylon/unskip-bats-like
Unskipped bats test
2022-09-14 07:49:22 -07:00
Daylon Wilkins
9e9f9e65c2 Unskipped bats test 2022-09-14 07:48:31 -07:00
JCOR11599
54c225ac35 [ga-bump-release] Update Dolt version to 0.41.3 and release v0.41.3 v0.41.3 2022-09-14 04:35:17 +00:00
James Cor
eda6e066b1 Merge pull request #4335 from dolthub/james/users
cmd user/password arguments always override yaml config
2022-09-13 18:33:34 -07:00
Zach Musgrave
0f0265db30 Deleted zombie copy of pipeline code 2022-09-13 17:33:26 -07:00
Zach Musgrave
e9f6e4a16e Delted unused panic to err code 2022-09-13 17:29:02 -07:00
Zach Musgrave
cbdb42e59f Reverted changed copyright header (changed on file move) 2022-09-13 17:27:18 -07:00
Dhruv Sringari
00ae8c0808 Trim trailing nil fields from tuples (#4316)
* skip diffs caused by short tuples

* fix tests

* last fix

* trim null suffixes of val.Tuple's

* fix

* [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-13 17:07:38 -07:00
Zach Musgrave
0f5276a48a Fixed more tests 2022-09-13 17:04:18 -07:00
Zach Musgrave
15b568b2fb Fixed bug with --continue 2022-09-13 16:51:50 -07:00
AndyA
8981c7e442 Merge pull request #4324 from dolthub/andy/svelt-node
go/store/prolly/{message, tree}: Reduce memory footprint of `message.ItemAccess`, `tree.Node`
2022-09-13 16:33:23 -07:00
AndyA
79c9514e55 Merge pull request #4314 from dolthub/andy/edit-flushing
go/store/prolly: Bound maximum pending writes to prolly.MutableMap
2022-09-13 16:32:58 -07:00
James Cor
9e30c6951b new logic and tests 2022-09-13 16:01:25 -07:00
Aaron Son
1e063322fb go/cmd/dolt/commands/sqlserver/server.go: Make it a startError if you supply a remotesapi-port and there is an error binding/listening to it. 2022-09-13 15:19:11 -07:00
Aaron Son
bdd7c9cd95 integration-tests/bats: Add some tests for sql-server running with remotesapi-port. 2022-09-13 15:04:39 -07:00
Zach Musgrave
aa33cdaf2e Merge branch 'zachmu/kill-pipeline' of github.com:dolthub/dolt into zachmu/kill-pipeline 2022-09-13 14:49:56 -07:00
Zach Musgrave
3844a0122d Fixed dropped error for some engine errors 2022-09-13 14:49:49 -07:00
James Cor
da9177518b bats testsgit add .! 2022-09-13 14:17:12 -07:00
Aaron Son
c9c542e4d6 go/libraries/doltcore/remotesrv: Move logging to logrus. 2022-09-13 14:11:01 -07:00
andrew-wm-arthur
d117858033 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-13 20:37:03 +00:00
James Cor
767bddd81d seems to work, need to add a test 2022-09-13 13:25:52 -07:00
Andy Arthur
c42aa5105c added Benchmark for Node.Get() without cached offsets 2022-09-13 13:10:21 -07:00
Daylon Wilkins
46b1bf19b3 Merge pull request #4327 from dolthub/Hydrocharged-8f4408f0
[auto-bump] [no-release-notes] dependency by Hydrocharged
2022-09-13 13:04:26 -07:00
Andy Arthur
07de156e98 save current prolly.MutableMap stash, if one exists 2022-09-13 12:43:31 -07:00
Andy Arthur
87a526621c fix commit closure bug, add doc comments 2022-09-13 12:39:48 -07:00
Aaron Son
1f08bc41b1 go/cmd/dolt/commands/sqlserver: Fix up logformat for when no connection id is available. 2022-09-13 12:05:17 -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
18fcf2eb4b go/cmd/dolt/commnds/sqlserver: Make it possible to run a read-only remotesapi service exposing the databases in the sql-server.
Supply `--remotesapi-port` with a port number on which to expose the service.

The endpoint can be used as a remote from the dolt client:

`dolt clone http://localhost:50051/this_does_not_matter/my_dolt_database`

will clone my_dolt_database from the sql-server that was run as `dolt
sql-server --remotesapi-port 50051`.
2022-09-13 11:29:47 -07:00
Andy Arthur
c1b6ed8f59 don't decode cached Nodes in ReadMany, benchmark ItemAccess 2022-09-13 10:17:45 -07:00
Aaron Son
72a76f63e7 Merge pull request #4323 from dolthub/aaron/remotesrv-server-library
go/utils/remotesrv: Make remotesrv implementation into a library which can be used from dolt proper.
2022-09-13 10:00:39 -07:00
Hydrocharged
74534a514c [ga-bump-dep] Bump dependency in Dolt by Hydrocharged 2022-09-13 12:42:30 +00:00
max-hoffman
37c7cc379c [ga-bump-release] Update Dolt version to 0.41.2 and release v0.41.2 v0.41.2 2022-09-13 02:06:53 +00:00
Andy Arthur
1c0db5f301 use bitmask for fast modulus when choosing cache stripe 2022-09-12 16:33:18 -07:00
zachmu
11eb844d6e [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-12 23:30:40 +00:00
Andy Arthur
353d4b9013 fix noms show 2022-09-12 16:15:12 -07:00
Zach Musgrave
4358f26abc Merge branch 'main' into zachmu/kill-pipeline 2022-09-12 16:08:57 -07:00
Zach Musgrave
497307c148 Merge pull request #4302 from dolthub/zachmu/sql-output
Changes to SQL output, including row summary, timing and empty set output
2022-09-12 16:08:12 -07:00