anchor.diff:  loop_child(From, FunHasChargeOfNode) ->
       receive
           {compact, Id} ->
  -            ok = application:set_env(?APP_NAME, Id, ?STATE_COMPACTING), %% > compacting
  +            true = ets:insert(?ETS_COMPACTION_STATUS_TABLE, {Id, ?STATE_COMPACTING}),
               ?SERVER_MODULE:compact(Id, FunHasChargeOfNode),
  -            ok = application:set_env(?APP_NAME, Id, ?STATE_ACTIVE),     %% > active
  +            true = ets:insert(?ETS_COMPACTION_STATUS_TABLE, {Id, ?STATE_ACTIVE}),
               erlang:send(From, {done, self()}),
               loop_child(From, FunHasChargeOfNode);
           stop ->
  
positive.code: %% @private
  -spec(get_pid_status(pid()) -> storage_status()).
  get_pid_status(Pid) ->
      case application:get_env(?APP_NAME, Pid) of
          undefined ->
              ?STATE_ACTIVE;
          {ok, Status} ->
              Status
      end.
  
  
  
negative.code:         ]).
  
  
  -define(ETS_CONTAINERS_TABLE,        'leo_object_storage_containers').
  -define(ETS_INFO_TABLE,              'leo_object_storage_info').
  -define(ETS_COMPACTION_STATUS_TABLE, 'leo_object_storage_compaction_status').
  -define(SERVER_MODULE,               'leo_object_storage_server').
  -define(DEVICE_ID_INTERVALS,         10000).
  
  -define(STATE_COMPACTING,  'compacting'). %% running
  -define(STATE_ACTIVE,      'active').     %% idle
  