aboutsummaryrefslogblamecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/ddfs_master/ddfs_gc.hrl
blob: dc43f7586b6c29f975121ed7047fe2f07e866b03 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                              
-type local_object() :: {object_name(), node()}.
-type phase() :: 'start' | 'build_map' | 'map_wait' | 'gc'
               | 'rr_blobs' | 'rr_blobs_wait' | 'rr_tags'.
-type protocol_msg() :: {'check_blob', object_name()} | 'start_gc' | 'end_rr'.

-type blob_update() :: {object_name(), 'filter' | [url()]}.

-type check_blob_result() :: 'false' | {'true', volume_name()}.

% GC statistics

% {Files, Bytes}
-type gc_stat() :: {non_neg_integer(), non_neg_integer()}.
% {Kept, Deleted}
-type obj_stats() :: {gc_stat(), gc_stat()}.
% {Tags, Blobs}.
-type gc_run_stats() :: {obj_stats(), obj_stats()}.