anchor.diff:  %% notify waiting processes.
   %% @end
   %%--------------------------------------------------------------------
  --spec check_and_add_components(file_meta:uuid(), space_info:id(), [component()]) -> ok.
  +-spec check_and_add_components(file_meta:uuid(), od_space:id(), [component()]) -> ok.
   check_and_add_components(FileUuid, SpaceId, Components) ->
       FoundComponents = check_missing_components(FileUuid, SpaceId, Components),
       add_components_and_notify(FileUuid, FoundComponents).
  
positive.code: %% the change after system restart
  %% @end
  %%--------------------------------------------------------------------
  -spec wait(file_meta:uuid(), space_info:id(), [file_consistency:component()], restart_posthook()) -> ok.
  wait(FileUuid, SpaceId, WaitFor, RestartPosthookData) ->
      {NeedsToWait, WaitForParent} = critical_section:run([?MODEL_NAME, <<"consistency_", FileUuid/binary>>],
          fun() ->
  
negative.code: %% Checks if components of file are present.
  %% @end
  %%--------------------------------------------------------------------
  -spec check_missing_components(file_meta:uuid(), od_space:id(), [component()], [component()]) ->
      [component() | {parent_links_partial, {file_meta:uuid(), file_meta:name(), file_meta:uuid()}}].
  check_missing_components(_FileUuid, _SpaceId, [], Found) ->
      Found;
  