Commit Graph

36 Commits

Author SHA1 Message Date
Taylor Bantle 6394373fb6 Some getAddrs cleanup 2023-01-13 10:13:01 -08:00
Taylor Bantle 3339cf34c2 Remove PutMany 2023-01-12 09:26:02 -08:00
Taylor Bantle 98871db953 First attempt at PutMany 2023-01-12 09:26:02 -08:00
Taylor Bantle 18fedd79ad Add sanity check to Put
This reverts commit b1de143a16.
2023-01-12 09:26:02 -08:00
Dhruv Sringari 2e38b25dbc thread memory quota provider through tableSet 2022-03-24 12:27:41 -07:00
Aaron Son 3021f93316 go/go.mod: github.com/kch42/buzhash -> github.com/silvasur/buzhash.
Closes #2416.
2021-11-18 10:08:57 -08:00
Aaron Son d219609d2e Merge pull request #2217 from dolthub/aaron/remotestorage-update-size-limited
go/libraries/doltcore/remotestorage: Interface for cache returns true if cache is full / truncated in size.
2021-10-05 16:12:58 -07:00
Aaron Son abffd995df go/libraries/doltcore/remotestorage: Interface for cache returns true if cache is full / truncated in size. 2021-10-04 16:51:58 -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
Maximilian Hoffman f5d63f4e3d move common merge/push/pull code into doltcore/env (#2063)
* Start moving code out of cmd

* hacky cmd -> action/evn refactor

* progress

* String verbose error from lib, mostly not reconstructed on cli side

* Missing verbose errors in lib, still not handled in cli. Refactor vinai's doc diffs to not depend on merge

* Small progress commit on other laptop

* Merge bats passing

* format

* progress

* Remotes bats tests working

* More error fixes

* Fix cyclic foreign keys bats

* Fix import cycle

* Start cleaning up code

* Fix a couple bats

* Clean up comments and println

* Brian's comments
2021-08-31 15:23:23 -07:00
Daylon Wilkins 6b2b68923b Further attempts to fix ACCESS_DENIED error on Windows 2021-07-15 13:26:59 -07:00
Aaron Son 84c3066348 go/**/*.go: Update copyright headers for company name change. 2020-11-02 10:17:02 -08:00
Aaron Son 623606c07c format_repo.sh 2020-10-14 17:06:32 -07:00
Aaron Son cbc28198b9 go/store/chunks: Convert ChunkStore GetMany interface to send results to callback instead of output channel. 2020-10-14 14:28:18 -07:00
Daylon Wilkins b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -07:00
Aaron Son c6d9b6c7f9 go/{store,libraries/doltcore/remotestorage}: Make the code peddling in nbs table file formats a little more explicit about it. 2019-10-01 12:23:09 -07:00
Aaron Son 9760f2f0eb store/{nbs,chunks}: Make ChunkStore#GetMany{,Compressed} take send-only channels. 2019-09-30 14:00:33 -07:00
Brian Hendriks ee1ec46b14 Push and Pull v2 (#89) 2019-09-27 11:20:47 -07:00
Brian Hendriks 55c2412db3 error changes (#7)
The existing noms codebase uses panics for signaling errors in most cases.  This is not idiomatic go, and it is not the optimal behavior when building cloud services, or products on top of noms as a panic in any go routine causes the entire process to exit.

This is a large step in removing panics, and bubbling errors up through the code.
2019-08-06 15:00:02 -07:00
Aaron Son 5fc6fd5d6a go: Update for dolt at root of repository. 2019-07-24 10:28:54 -07:00
Aaron Son 23a0f5a33e Merge remote-tracking branch 'origin/master' into aaron/dolt-3pdeps-license-fetching 2019-07-23 16:07:50 -07:00
Aaron Son 6619700b5a dolt/go: Add utils/repofmt/check_fmt.sh, and standardize goimports config across repository. 2019-07-23 11:59:06 -07:00
Aaron Son 732086a9c7 dolt/go: Add copyright notices to every file. For files from noms, retain and reference the previous copyright notice as well. 2019-07-22 17:06:35 -07:00
Aaron Son 0d68c7adb1 dolt/go/store/types: format: Add error handling to parsing format version strings. 2019-07-19 17:16:51 -07:00
Aaron Son 2d74d6df38 dolt/go: First pass at supporting multiple bin formats in dolthub remotes.
NomsBlockStore gets seeded with a version string specifier which gets threaded
through various contexts. If the existing manifest specifies a different
format, then that takes priority.
2019-07-19 16:44:07 -07:00
Brian Hendriks 46355538e3 more panics 2019-07-17 14:20:58 -07:00
Brian Hendriks 6f86048d02 more panic shit 2019-07-10 17:38:51 -07:00
Brian Hendriks 3261ede245 new store panics 2019-07-09 10:28:46 -07:00
Brian Hendriks 434d75acde root errors 2019-06-27 10:20:18 -07:00
Brian Hendriks 70d24d5d23 ChunkStore::Rebase errors 2019-06-26 14:38:37 -07:00
Brian Hendriks 0ff2f5775b ChunkStore::put errors 2019-06-26 14:36:11 -07:00
Brian Hendriks 483ce6ef5d ChunkStore::Has and HasMany errors 2019-06-26 14:20:12 -07:00
Brian Hendriks b232b28fd8 remove panics from ChunkStore::Get anad GetMany 2019-06-25 14:29:00 -07:00
Brian Hendriks 87f24cbaa8 Add Panics to ChunkStore.Commit interface and take out panics 2019-06-24 16:27:35 -07:00
Brian Hendriks de36628918 update paths 2019-06-21 12:06:08 -07:00
Brian Hendriks 6ae6d7e595 move store files to the structure we want 2019-06-21 11:55:01 -07:00