Rhizi / rhizi

Connective intelligence
GNU Affero General Public License v3.0
13 stars 3 forks source link

server: add sanity check of database when loading #631

Open alon opened 8 years ago

alon commented 8 years ago

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