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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
bca4cc7d
Commit
bca4cc7d
authored
Jun 17, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
70a447bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wcfs/δbtail.go
wcfs/δbtail.go
+2
-1
No files found.
wcfs/δbtail.go
View file @
bca4cc7d
...
@@ -96,7 +96,7 @@ type ΔBtail struct {
...
@@ -96,7 +96,7 @@ type ΔBtail struct {
// XXX vvv keys keys ∈ tracket -> keys ∈ kadj[tracket] ?
// XXX vvv keys keys ∈ tracket -> keys ∈ kadj[tracket] ?
// δRtail []ΔRoots // which BTree were changed; Noted only by keys ∈ tracket subset
// δRtail []ΔRoots // which BTree were changed; Noted only by keys ∈ tracket subset
// byRoot map[*Tree]*ΔTtail // root -> k/v change history; only for keys ∈ tracket subset
// byRoot map[*Tree]*ΔTtail // root -> k/v change history; only for keys ∈ tracket subset
byRoot
map
[
zodb
.
Oid
]
*
ΔTtail
//
root ->
k/v change history; only for keys ∈ tracket subset
byRoot
map
[
zodb
.
Oid
]
*
ΔTtail
//
{} root -> []
k/v change history; only for keys ∈ tracket subset
// XXX or ask client to provide db on every call?
// XXX or ask client to provide db on every call?
db
*
zodb
.
DB
// to open connections to load new/old tree|buckets
db
*
zodb
.
DB
// to open connections to load new/old tree|buckets
...
@@ -138,6 +138,7 @@ type ΔTtail struct {
...
@@ -138,6 +138,7 @@ type ΔTtail struct {
}
}
// ΔTree describes changes to one BTree in one revision.
// ΔTree describes changes to one BTree in one revision.
// XXX -> ΔT ?
type
ΔTree
struct
{
type
ΔTree
struct
{
Rev
zodb
.
Tid
Rev
zodb
.
Tid
KV
map
[
Key
]
Value
KV
map
[
Key
]
Value
...
...
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