Commit bca4cc7d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 70a447bf
...@@ -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
......
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