keep track of database state and serve it at /search/datastatus
and migrations