anchor.diff:                              compaction_prms =
                                   #compaction_prms{
                                      num_of_active_objs  = _NumActiveObjs,
  -                                   size_of_active_objs = _SizeActiveObjs}} = State}) ->
  -    {ok, State#state{result = ?RET_SUCCESS,
  -                     is_finished = true}};
  +                                   size_of_active_objs = _SizeActiveObjs}}}) ->
  +    ok;
   
   after_execute_1({ok, #state{meta_db_id       = MetaDBId,
                               obj_storage_id   = ObjStorageId,
  
positive.code:                             compaction_prms =
                                  #compaction_prms{
                                     num_of_active_objs  = NumActiveObjs,
                                     size_of_active_objs = SizeActiveObjs}} = State}) ->
      %% Unlink the symbol
      LinkedPath = StorageInfo#backend_info.linked_path,
      FilePath   = StorageInfo#backend_info.file_path,
  
negative.code:             ok = leo_object_storage_server:switch_container(
                     ObjStorageId, FilePath, NumActiveObjs, SizeActiveObjs),
              ok = leo_backend_db_api:finish_compaction(MetaDBId, true),
              ok;
          {error,_Cause} ->
              leo_backend_db_api:finish_compaction(MetaDBId, false),
              ok
      end;
  
  %% @doc Rollback - delete the tmp-files
  %% @private
  after_execute_1({_Error, #state{meta_db_id       = MetaDBId,
                                  obj_storage_info = StorageInfo}}) ->
      %% must reopen the original file when handling at another process:
      catch file:delete(StorageInfo#backend_info.file_path),
      leo_backend_db_api:finish_compaction(MetaDBId, false),
      ok.
  
  
  %% @doc Output the diagnosis log
  