It should be allowed, but you need to Flush all MemTables before re-open DB if you changed back from OptimisticTransactionDB::Open() to DB::Open, because there is txn info in WAL which DB::Open does not support.