anchor.diff:  
   %% @doc Close a storage
   %% @private
  -close_storage(Id, StateFilePath, StorageStats, WriteHandler, ReadHandler) ->
  +close_storage(Id, MetaDBId, StateFilePath, StorageStats, WriteHandler, ReadHandler) ->
  +    ?debugVal(MetaDBId),
       _ = filelib:ensure_dir(StateFilePath),
       _ = leo_file:file_unconsult(
             StateFilePath,
  
positive.code:            {compaction_histories, StorageStats#storage_stats.compaction_histories},
             {has_error,            StorageStats#storage_stats.has_error}]),
      ok = leo_object_storage_haystack:close(WriteHandler, ReadHandler),
      ok.
  
negative.code: 
  handle_call(close, _From,
              #state{id = Id,
                     meta_db_id = MetaDBId,
                     state_filepath = StateFilePath,
                     storage_stats  = StorageStats,
                     object_storage = #backend_info{write_handler = WriteHandler,
                                                    read_handler  = ReadHandler}} = State) ->
      ok = close_storage(Id, MetaDBId, StateFilePath,
                         StorageStats, WriteHandler, ReadHandler),
      {reply, ok, State};
  
  