anchor.diff:              %%
               TmpWriteHandler = StorageInfo#backend_info.tmp_write_handler,
   
  -            case leo_object_storage_haystack:compact_put(TmpWriteHandler, Metadata,
  -                                                         CompactParams#compact_params.key_bin,
  -                                                         CompactParams#compact_params.body_bin) of
  +            case leo_object_storage_haystack:compact_put(
  +                   TmpWriteHandler, Metadata, Key, Body) of
                   {ok, Offset} ->
                       NewMeta = Metadata#?METADATA{offset = Offset},
                       KeyOfMetadata = ?gen_backend_key(StorageInfo#backend_info.avs_version_bin_cur,
  
positive.code:           body_bin               :: binary(),
            next_offset            :: integer(),
            fun_has_charge_of_node :: function(),
            num_of_active_object   :: integer(),
            size_of_active_object  :: integer()
           }).
  
  
negative.code:     end,
  
      %% retrieve value
      #compact_params{key_bin  = Key,
                      body_bin = Body,
                      fun_has_charge_of_node = FunHasChargeOfNode,
                      num_of_active_objects  = NumOfActiveObjs,
                      size_of_active_object  = SizeActive
                     } = CompactParams,
  
      %% set a flag of object of compaction
      NumOfReplicas = Metadata#?METADATA.num_of_replicas,
      HasChargeOfNode = FunHasChargeOfNode(Key, NumOfReplicas),
  
      %% execute compaction
      case (is_deleted_rec(MetaDBId, StorageInfo, Metadata)
  