Implement blacklist/whitelist
Change from the all/whitelist ebhavior to the blacklist/whitelist behaviour documented in the write-up
This commit is contained in:
parent
7c86de2491
commit
80fd2615f6
5 changed files with 43 additions and 19 deletions
|
@ -67,9 +67,17 @@
|
|||
waste_retention_period :: integer(),
|
||||
reload_strategy = [] :: list()}).
|
||||
|
||||
-record(recent_aae, {buckets :: list()|all,
|
||||
% whitelist of buckets to support recent recent AAE
|
||||
% or all to support all buckets
|
||||
-record(recent_aae, {filter :: whitelist|blacklist,
|
||||
% the buckets list should either be a
|
||||
% - whitelist - specific buckets are included, and
|
||||
% entries are indexed by bucket name
|
||||
% - blacklist - specific buckets are excluded, and
|
||||
% all other entries are indexes using the special
|
||||
% $all bucket
|
||||
|
||||
buckets :: list(),
|
||||
% whitelist or blacklist of buckets to support recent
|
||||
% AAE
|
||||
|
||||
limit_minutes :: integer(),
|
||||
% how long to retain entries the temporary index for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue