Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
44bfe345
Commit
44bfe345
authored
Apr 05, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
494b4715
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
wcfs/internal/xbtree/δbtail.go
wcfs/internal/xbtree/δbtail.go
+12
-4
No files found.
wcfs/internal/xbtree/δbtail.go
View file @
44bfe345
...
...
@@ -82,15 +82,23 @@ type Tree = btree.LOBTree
type
Bucket
=
btree
.
LOBucket
type
Node
=
btree
.
LONode
type
Key
=
int64
type
Value
=
zodb
.
Oid
// XXX assumes key points to IPersistent
// ΔTail represents tail of revisional changes to BTrees.
//
// It semantically consists of
// It covers changes to keys from tracked subset of BTrees parts and
// semantically consists of
//
// [](rev↑, [](root, []key)) ; rev ∈ (tail, head]
// # k/v change history ; rev ∈ (tail, head]
// [](rev↑,
// [](root,
// {}(key, value)))
//
// and covers changes to tracked subsets of BTrees. A tree subset becomes
// tracked via Track(path) request.
// # set of k/v @tail for keys that are not changed in (tail, head].
// [](root,
// {}(key, value))
//
// A tree nodes become tracked via Track(path) request.
//
// An example for tracked set is a set of visited BTree paths.
// There is no requirement that tracked set belongs to only one single BTree.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment