Often after disk space overflow or hard crash , blockchain database is in invalid state. Make an API method to forget all the DB data related to blocks after given height, to provide ability to avoid full resync.