Feature #2586: Optimize onedb upgrade
Feature #2586: Optimize onedb fsck