anchor.diff:               %% inspect for compaction
                {ok, Res1} = leo_object_storage_api:stats(),
                {SumTotal1, SumActive1, SumTotalSize1, SumActiveSize1}
  -                 = lists:foldl(
  -                     fun({ok, #storage_stats{file_path  = _ObjPath,
  -                                             total_sizes = TotalSize,
  -                                             active_sizes = ActiveSize,
  -                                             total_num  = Total,
  -                                             active_num = Active}},
  -                         {SumTotal, SumActive, SumTotalSize, SumActiveSize}) ->
  -                             {SumTotal + Total,
  -                              SumActive + Active,
  -                              SumTotalSize + TotalSize,
  -                              SumActiveSize + ActiveSize}
  -                     end, {0, 0, 0, 0}, Res1),
  +                 = get_avs_stats_summary(Res1),
                ?assertEqual(18, SumTotal1),
                ?assertEqual(13, SumActive1),
                ?assertEqual(true, SumTotalSize1 > SumActiveSize1),
  
positive.code: %%--------------------------------------------------------------------
  %% INNER FUNCTIONS
  %%--------------------------------------------------------------------
  put_test_data(AddrId, Key, Bin) ->
      Object = #?OBJECT{method    = put,
                        addr_id   = AddrId,
  
negative.code: 
               timer:sleep(3000),
               {ok, Res2} = leo_object_storage_api:stats(),
               {SumTotal2, SumActive2, SumTotalSize2, SumActiveSize2} 
                   = get_avs_stats_summary(Res2),
               io:format(user, "[debug] summary1:~p~n", [{SumTotal2, SumActive2, SumTotalSize2, SumActiveSize2}]),
               ?assertEqual(13, SumTotal2),
               ?assertEqual(13, SumActive2),
               ?assertEqual(true, SumTotalSize2 =:= SumActiveSize2),
  
               %% confirm whether first compaction have broken avs files or not
               ok = leo_compaction_manager_fsm:start(TargetPids, 2, FunHasChargeOfNode),
               timer:sleep(5000),
               %% must be equal the previous stats
               {ok, Res3} = leo_object_storage_api:stats(),
               {SumTotal2, SumActive2, SumTotalSize2, SumActiveSize2}
                   = get_avs_stats_summary(Res3),
  
               %% inspect for after compaction
               TestAddrId0 = 0,
  