Commit Graph

13 Commits

Author SHA1 Message Date
Aaron Son
6444dcd4dd go/store/types: Less back to taking NBF, not ValueReader. 2023-03-06 09:35:40 -08:00
Aaron Son
6e61b3a771 go/store/types: Thread ctx through Value.Less. 2023-03-06 09:35:40 -08:00
Maximilian Hoffman
9abda5f5fa Log table count (#5112)
* Log table count

* uncomment stats interface

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

* plus one

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-01-06 14:57:54 -08:00
Aaron Son
7906c9e98f go/{store,libraries,gen}: Adopt new flatc, throw an error if we encounter unknown fields. 2022-08-16 11:57:14 -07:00
Aaron Son
5fcd3ccee4 go/store/prolly/message: Move MessagePrefixSz, FinishMessage to serial package. 2022-07-22 14:16:34 -07:00
Aaron Son
4f3f4e17af go/store/types: SerialMessage: Unify TupleRowStorage and SerialMessage.
Get rid of TupleRowStorage and use SerialMessage everywhere. In turn, change
SerialMessage so that it carries its kind and size prefix as part of itself.
2022-07-22 11:56:48 -07:00
Aaron Son
7073a23292 go: Remove shim.ChunkStoreFromVRW, thread NodeStore to more places. 2022-07-05 15:15:52 -07:00
Aaron Son
642f2e0ba7 go: More migration away from shim into NodeStore. 2022-07-05 14:16:36 -07:00
Aaron Son
ac3fc4168b go/store/prolly: Create a CommitClosure ordered tree. Use it in go/store/datas for the commit closure. 2022-06-15 15:18:46 -07:00
Dhruv Sringari
f608335ba7 [no-release-notes] foreign key constraint violations for new storage format (#3605)
* Add Hash160Enc

* persist and read conflicts from merge artifacts table

* update some tests

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

* comment / cleanup prolly/artifact_map.go

* ~copyright~

* reskip TestDoltMerge

* rename Hash160Enc to Address

* change ArtifactType from string to uint8

* fix zero value for ArtifactType

* merge sets of conflicts together, update some tests

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

* pr comments

* cvs can be written to and read

* merge with CVs for new storage format

* working!

* skip cv test

* unskips dolt transaction tests

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

* some cleanup, fix tests

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

* copyright

* fix cv hash roundtripping

* pr comments

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

* cleanup

* fix vet errors and tests

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-06-14 19:45:22 -07:00
Aaron Son
44e2991e04 go/store/datas: commit_closure: ByteStringEnc -> AddressEnc. 2022-06-14 09:09:13 -07:00
Aaron Son
ae3dafd521 go/store/datas: commit_test.go: Express parent closure tests in terms of closure iterator. 2022-06-13 14:54:16 -07:00
Aaron Son
e934040b25 go/store/datas: Small cleanup of code location and some function names for commit closures. 2022-06-13 14:41:25 -07:00