when loading, check that the db contains a consistent db, i.e. that all known queries will work on it.
right now that means:
all nodes belong to some document (warning if not the case)
all nodes have a parent commit (error if not the case)
there is a root commit
when loading, check that the db contains a consistent db, i.e. that all known queries will work on it.
right now that means: all nodes belong to some document (warning if not the case) all nodes have a parent commit (error if not the case) there is a root commit