anchor.diff:                      execute_1(State_1);
                   true when IsDiagnose == true ->
                       ok = output_diagnosis_log(LoggerId, Metadata),
  -                    execute_1(State_1);
  +                    execute_1(State_1#state{
  +                                compaction_prms = CompactionPrms#compaction_prms{
  +                                                    total_num_of_objs  = TotalObjs + 1,
  +                                                    total_size_of_objs = TotaSize  +
  +                                                        leo_object_storage_haystack:calc_obj_size(Metadata)
  +                                                   }});
                   %%
                   %% For data-compaction processing
                   %%
  
positive.code:                                           end_datetime   = EndDateTime,
                                            duration       = Duration,
                                            result = Ret}),
      error_logger:info_msg("~p,~p,~p,~p~n",
                            [{module, ?MODULE_STRING}, {function, "running/2"},
                             {line, ?LINE}, {body, [{file_path, FilePath},
                                                    {start_datetime, StartDateTime_1},
                                                    {end_datetime,   EndDateTime_1},
                                                    {duration, Duration},
                                                    {result, Ret}
                                                   ]}]),
  
negative.code:                              body_bin = Body,
                               callback_fun = CallbackFun,
                               num_of_active_objs  = NumOfActiveObjs,
                               size_of_active_objs = ActiveSize,
                               total_num_of_objs  = TotalObjs,
                               total_size_of_objs = TotaSize} = CompactionPrms,
              NumOfReplicas   = Metadata#?METADATA.num_of_replicas,
              HasChargeOfNode = case (CallbackFun == undefined) of
                                    true ->
  