Commit 5c8323e8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 44bfe345
...@@ -95,8 +95,8 @@ type Value = zodb.Oid // XXX assumes key points to IPersistent ...@@ -95,8 +95,8 @@ type Value = zodb.Oid // XXX assumes key points to IPersistent
// {}(key, value))) // {}(key, value)))
// //
// # set of k/v @tail for keys that are not changed in (tail, head]. // # set of k/v @tail for keys that are not changed in (tail, head].
// [](root, // {} root ->
// {}(key, value)) // {}(key, value)
// //
// A tree nodes become tracked via Track(path) request. // A tree nodes become tracked via Track(path) request.
// //
...@@ -113,7 +113,9 @@ type Value = zodb.Oid // XXX assumes key points to IPersistent ...@@ -113,7 +113,9 @@ type Value = zodb.Oid // XXX assumes key points to IPersistent
type ΔTail struct { type ΔTail struct {
δBtail []ΔRevEntry // BTree changes; Covers keys ∈ tracket subset δBtail []ΔRevEntry // BTree changes; Covers keys ∈ tracket subset
δZtail *zodb.ΔTail // raw ZODB changes; Kept to rebuild δBtail after new Track δ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? // XXX or ask client 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment