fix ABBA deadlock in MVStore between database and meta table lock fix premature release of database object ids in MVStore