Commit Graph

69 Commits

Author SHA1 Message Date
Aaron Son f3c19bce4e go/store/datas: Get TestCommitParentsClosure passing with DOLT_DEV. 2022-06-09 14:27:56 -07:00
Aaron Son 0679417dd4 go/store/datas: commit.go: First pass at writing a parents closure prolly.Map. 2022-06-09 12:01:47 -07:00
Aaron Son 0d25806b38 go/{store/datas,libraries/doltcore/doltdb/durable}: Move __DOLT_1__ format to flatbuffers top-of-DAG. 2022-05-05 12:48:58 -07:00
Aaron Son ee8f41aa65 go/store/types: SerialCommitParentRefs -> SerialCommitParentAddrs. 2022-05-03 10:26:27 -07:00
Aaron Son 11090d90bd go/store/datas: Make some stuff package private. 2022-04-27 15:48:39 -07:00
Aaron Son de2fcbad6a .github: Add __DOLT_DEV__ testing to GitHub CI. 2022-04-05 11:45:38 -07:00
reltuk 175341feeb [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-04-04 20:36:29 +00:00
Aaron Son 5b1957029e go/serial: commit.fbs: Remove ref heights from commit storage. Skip and fix store/cmd tests to pass with Format_DOLT_DEV. 2022-04-04 13:26:01 -07:00
Aaron Son 575b70615e go/store/datas: CommitForValue, LoadCommitAddr. 2022-04-04 13:26:01 -07:00
Aaron Son 7bc6d4ac89 go/store/datas: NewCommitForValue: Returns *Commit. 2022-04-04 13:26:01 -07:00
Aaron Son f95b38eaa9 go/store/datas: FindCommonAncestor takes *Commit parameters. LoadCommitRef exported. 2022-04-04 13:26:01 -07:00
Aaron Son 8f4cb102db go/store/datas: GetCommitParents: Make parent walks work on commit structs/messages, not Refs. Step towards removing heights from message refs. 2022-04-04 13:26:01 -07:00
Aaron Son be27368901 go/store/datas: GetCommitValue -> GetCommittedValue. 2022-04-04 13:26:01 -07:00
Aaron Son d69ac33738 go/store/datas: FindCommonAncestor returns addr, not Ref. 2022-04-04 13:26:01 -07:00
Aaron Son 7b1406ccce Revert "Revert "Merge pull request #3077 from dolthub/aaron/datas-commit-as-fb-message""
This reverts commit ee68e00000.
2022-03-29 11:09:54 -07:00
Aaron Son ee68e00000 Revert "Merge pull request #3077 from dolthub/aaron/datas-commit-as-fb-message"
This reverts commit 87bf948031, reversing
changes made to b9e2348472.
2022-03-28 17:40:09 -07:00
Aaron Son d5faf42418 repoformat. 2022-03-23 14:57:18 -07:00
Aaron Son ce1dee71ce store/datas: __DOLT_DEV__ format serializes commits as flatbuffer messages. 2022-03-23 14:07:56 -07:00
Aaron Son 28e0aa9796 go/store/datas: Iterator on commit_flatbuffer. 2022-03-22 10:29:17 -07:00
Aaron Son 35aafdf82d go/store/datas: Make the names of commit struct fields package private. 2022-03-17 16:22:00 -07:00
Aaron Son b67c7ca41f store/datas,doltdb: Convert some Commit accesses to go through types.Value instead of types.Struct. 2022-03-17 14:05:41 -07:00
Aaron Son d3dcafa57f go/store/datas: NewCommitForValue returns types.Value. 2022-03-17 10:38:23 -07:00
Aaron Son be075c7cfb store/datas/commit.go: Fix unreachable code. 2022-03-17 09:30:00 -07:00
Aaron Son 39f571d17e go: doltdb: Remove commitSt field from Commit. 2022-03-16 16:40:26 -07:00
Aaron Son 94d141a0bd store/datas: GetCommitMeta accessor. 2022-03-16 16:40:26 -07:00
Aaron Son be9df59968 store/datas: Add GetCommitParents accessor. 2022-03-16 16:40:26 -07:00
Aaron Son d980fa15ca go/store/datas: Remove many uses of MaybeHeadRef. 2022-03-16 16:40:26 -07:00
Aaron Son c4b74b8878 store/datas: CommitOptions: Remove types references. 2022-03-10 13:52:08 -08:00
Aaron Son 7e5326081f go/store/datas: Remove CommitDangling. 2022-02-02 15:07:13 -08:00
Aaron Son ec014823a5 go/store/datas: Move around some Ref creation in doCommit. 2022-02-02 10:22:13 -08:00
Aaron Son 459d98defe Add a TODO to seek in FindCommonAncestor implementation. 2021-10-12 15:39:49 -07:00
Aaron Son dd5161f79b go/store/datas: Encapsulate some iterator logic for FindCommonAncestors in a struct. 2021-10-12 10:40:27 -07:00
Aaron Son 8cece700e8 go/store/datas: First pass at implementing FindCommonAncestor when parents_closure is present. 2021-10-12 09:40:55 -07:00
Aaron Son 812c5fccd8 go/store/datas: Ref the parents_closure Map, instead of storing it inline. 2021-10-11 13:57:30 -07:00
Aaron Son 90061c2fd9 go/store/datas: Implement getParentsClosure to materialize the parents closure. 2021-10-08 10:07:54 -07:00
Aaron Son 646c91d093 go/store/datas: Add parents_closure to commit struct. 2021-10-08 10:07:54 -07:00
Aaron Son 17dc3e72c3 store/datas: NewCommit -> newCommit, start threading parentsSkipList parameter through.
store/datas: Add ability to store parents_skip_list field to Commit Struct.
2021-10-08 10:07:54 -07:00
Andy Arthur 9cdfc0e639 doc comments 2021-08-01 20:22:40 -07:00
Andy Arthur 61d09f56a9 added lazy ref closure 2021-07-31 11:15:31 -07:00
Andy Arthur d9b5509e3d find common ancestor using transitive ref closure 2021-07-31 10:50:29 -07:00
Aaron Son 0013dd4b53 go/store/datas: FindCommonAncestor uses heap. 2021-07-16 09:11:01 -07:00
Lars Lehtonen c32b47fef1 store/datas: fix dropped errors 2021-03-09 10:53:21 -08:00
Andy Arthur ee5c14b163 more s/IterAll/Iter/ 2021-02-28 12:54:55 -08:00
Aaron Son 84c3066348 go/**/*.go: Update copyright headers for company name change. 2020-11-02 10:17:02 -08:00
Daylon Wilkins b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -07:00
Aaron Son 2b2f1b0f02 gofmt. 2020-09-14 14:29:19 -07:00
Aaron Son 8235268e8a go: store/datas: Write a test for FindCommonAncestor cross-Database behavior. 2020-09-14 14:28:48 -07:00
Aaron Son 6a909bc179 go/store/datas: Update FindCommonAncestor to work when two commits are from different ValueReadWriters. 2020-09-14 12:43:33 -07:00
Andy Arthur 424790e6ab unittest 2020-08-27 16:28:42 -07:00
Andy Arthur 38888232f3 tags as separate struct type 2020-08-27 14:15:12 -07:00