jgraley / inferno-cpp2v

2 stars 0 forks source link

What are the constraints for regenning the dB #718

Open jgraley opened 1 year ago

jgraley commented 1 year ago
jgraley commented 1 year ago

To insert into an ordering, your new XLink needs to be compared with potentially any of those already there, and the whole idea is that the XLinks in the preserved tree zones stay in the orderings all the way through. So: all the XLinks in preserved tree zones must be fit for comparison on any ordering whenever anything is inserted:

Conclusion is that if you want to insert into the orderings, you have to do so on a complete tree. Options for DB update then are:

Implication is that TreeZones are always embedded in the tree and have ordering entries and we don't try to "remove" them from the tree, instead working around them on the free zones.

jgraley commented 1 year ago

Note different strategy for DF and SC ordering. Ordering dependencies:

So, if some node or zone changes then:

Thus we accept differences in strategy:

Note that alternatives for the DF ordering constraint exist: