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
5c8323e8
Commit
5c8323e8
authored
Apr 05, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
44bfe345
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
wcfs/internal/xbtree/δbtail.go
wcfs/internal/xbtree/δbtail.go
+5
-3
No files found.
wcfs/internal/xbtree/δbtail.go
View file @
5c8323e8
...
...
@@ -95,8 +95,8 @@ type Value = zodb.Oid // XXX assumes key points to IPersistent
// {}(key, value)))
//
// # set of k/v @tail for keys that are not changed in (tail, head].
//
[](root,
// {}(key, value)
)
//
{} root ->
// {}(key, value)
//
// A tree nodes become tracked via Track(path) request.
//
...
...
@@ -113,7 +113,9 @@ type Value = zodb.Oid // XXX assumes key points to IPersistent
type
ΔTail
struct
{
δBtail
[]
ΔRevEntry
// BTree changes; Covers keys ∈ tracket subset
δZtail
*
zodb
.
ΔTail
// raw ZODB changes; Kept to rebuild δBtail after new Track
// head zodb.Tid // δBtail currently has coverage till head], δZtail can have more
// {} root -> {}k/v @tail for keys that are not changed in (tail, head].
atTail
map
[
*
Tree
]
map
[
Key
]
Value
// XXX or ask client provide db on every call?
db
*
zodb
.
DB
// to open connections to load new/old tree|buckets
...
...
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