anchor.diff:  %% the change after system restart
   %% @end
   %%--------------------------------------------------------------------
  --spec wait(file_meta:uuid(), space_info:id(), [file_consistency:component()], restart_posthook()) -> ok.
  +-spec wait(file_meta:uuid(), od_space:id(), [file_consistency:component()], restart_posthook()) -> ok.
   wait(FileUuid, SpaceId, WaitFor, RestartPosthookData) ->
       {NeedsToWait, WaitForParent} = critical_section:run([?MODEL_NAME, <<"consistency_", FileUuid/binary>>],
           fun() ->
  
positive.code:     case catch file_meta:get(FileUuid) of
          {ok, _} ->
              check_missing_components(FileUuid, SpaceId, RestMissing, [file_meta | Found]);
          _ ->
              check_missing_components(FileUuid, SpaceId, RestMissing, Found)
      end;
  
negative.code:             ok;
          [parent_links] ->
              {ok, ParentUuid} = file_meta:get_parent_uuid(FileUuid, SpaceId),
              file_consistency:wait(ParentUuid, SpaceId, [file_meta, times, link_to_parent, parent_links],
                  RestartPosthookData);
          [parent_links, {NewUuid, WaitName, ChildUuid}] ->
              file_consistency:wait(NewUuid, SpaceId, [file_meta, times, link_to_parent, parent_links,
                  {link_to_child, WaitName, ChildUuid}], RestartPosthookData)
      end.
  
  