Commit bca4cc7d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 70a447bf
......@@ -96,7 +96,7 @@ type ΔBtail struct {
// XXX vvv keys keys ∈ tracket -> keys ∈ kadj[tracket] ?
// δ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[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?
db *zodb.DB // to open connections to load new/old tree|buckets
......@@ -138,6 +138,7 @@ type ΔTtail struct {
}
// ΔTree describes changes to one BTree in one revision.
// XXX -> ΔT ?
type ΔTree struct {
Rev zodb.Tid
KV map[Key]Value
......
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