Aaron Son
0ff751a2f5
Merge remote-tracking branch 'origin/main' into aaron/fb-error-on-new-fields
2022-08-23 12:06:20 -07:00
Zach Musgrave
8e305a1735
Implemented ValidateDatasetId function following git's rules for refnames
2022-08-18 12:28:02 -07: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
642f2e0ba7
go: More migration away from shim into NodeStore.
2022-07-05 14:16:36 -07:00
liuliu
1432f716fe
return type
2022-06-16 13:32:51 -07:00
liuliu
e90e1237a0
Merge remote-tracking branch 'origin/main' into liuliu/root-hash-does-not-exist-panic
2022-06-16 13:18:42 -07:00
liuliu
6e06c65708
val is nil
2022-06-16 13:18:32 -07:00
Aaron Son
83f24c004a
Merge pull request #3607 from dolthub/aaron/dolt_dev-parent-closure-in-commits
...
[no-release-notes] go/store/datas: Store parent commit closure in DOLT_DEV, DOLT_1 formats.
2022-06-14 10:40:29 -07:00
liuliu
f7bc50bd02
rename, test
2022-06-13 14:51:48 -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
liuliu
99333a5187
get branches by root hash
2022-06-13 14:18:01 -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
bad143cbcb
go/store/datas: StoreRoot RefMap -> AddressMap.
2022-06-02 14:41:13 -07:00
reltuk
2638877b47
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2022-05-09 17:45:11 +00:00
Aaron Son
3fbc2fbdf3
go/store/datas: database_common: FastForward: Remove some NewRefs on flatbuffers paths.
2022-05-09 09:38:06 -07:00
Aaron Son
e69440a7b1
go/store/datas: database_common: Remove some NewRefs on flatbuffers paths.
2022-05-09 09:30:17 -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
11090d90bd
go/store/datas: Make some stuff package private.
2022-04-27 15:48:39 -07:00
Aaron Son
bdc23dc236
go/store: refmap: Make RefMapEdit visible.
2022-04-18 13:30:45 -07:00
Aaron Son
1507b06fc7
go/store/datas: refmap update fix.
2022-04-07 13:38:12 -07:00
reltuk
a3b6a547ff
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2022-04-07 18:17:46 +00:00
Aaron Son
67e059d70a
go/store/datas: Use RefMap directly instead of copying all entries and doing a linear search.
2022-04-07 11:16:02 -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
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
ce1dee71ce
store/datas: __DOLT_DEV__ format serializes commits as flatbuffer messages.
2022-03-23 14:07:56 -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
d3dcafa57f
go/store/datas: NewCommitForValue returns types.Value.
2022-03-17 10:38:23 -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
646a22abd5
go/store/datas: PR feedback.
2022-03-07 13:46:12 -08:00
Aaron Son
c2decba931
prepr.sh.
2022-03-03 16:32:26 -08:00
Aaron Son
837f8999f5
format_repo.sh.
2022-03-03 16:26:56 -08:00
Aaron Son
e0b8c4f46b
go/store/types: Create a __DOLT_DEV__ format.
...
Moves go/store/datas to always use ReadValue/WriteValue, and creates a
SerialMessage types.Value type whose implementation is a lot like InlineBlob.
Implements WalkRefs for SerialMessage.
This lets the full stack of dolt functionality work while we transition types
from the top of the DAG.
2022-03-03 16:23:35 -08:00
Aaron Son
6307f96e6f
go/store/datas: Add flatbuffers serialization for workingset.
2022-03-02 16:32:24 -08:00
Aaron Son
88229d027a
go/store/datas,go/libraries/doltcore/doltdb: Decouple working sets from types.Struct.
2022-03-02 15:10:26 -08:00
Aaron Son
434085b7ca
go/store/datas: Rework Dataset Head methods and doltdb usage to move towards supporting fb Tags as heads.
2022-03-01 16:24:03 -08:00
Aaron Son
30fdba1915
go/store/datas: Add a write path for flatbuffers tags.
2022-02-28 17:19:44 -08:00
Aaron Son
80094769a4
go/store/datas: NewTag -> newTag.
2022-02-28 16:24:56 -08:00
Aaron Son
bd99c09b5e
go/store/datas: Use a storeroot table chunk instead of a raw refmap as the root value. Add file identifier to storeroot.
2022-02-24 13:50:51 -08:00
Aaron Son
a353969689
go/store/datas: Add a write and read path for a non-chunked refmap as root of the datastore.
2022-02-24 09:51:21 -08:00
Aaron Son
2c6f8d1ac2
go/store/datas: Sketch out updating flatbuffer refmap as part of database operations.
2022-02-23 16:03:17 -08:00
Aaron Son
c5f7678505
Merge branch 'aaron/database-move-some-stuff-from-refs-to-addrs' into aaron/datas-new-format-nonchunking-refmap
2022-02-23 15:30:29 -08:00
Aaron Son
30fdbeb6c5
go/store/datas: More refmap work.
2022-02-23 13:44:23 -08:00
Aaron Son
5835b88528
go/store/datas: Make passed in Dataset for Commit assert the head of the current ref.
2022-02-22 10:58:49 -08:00
Aaron Son
6a419bd42f
go/store/datas: Database: Tag works on commit hashes.
2022-02-16 15:23:25 -08:00
Aaron Son
e376e24efb
go/store/datas: Database: FastForward works on commit hashes.
2022-02-16 14:50:09 -08:00
Aaron Son
067abb6ffc
go/store/datas: Database: SetHead operates on Hash, not Ref.
2022-02-16 14:10:13 -08:00