cloud-pipeline
cloud-pipeline copied to clipboard
Issue 2721 Enhancement for storage lifecycle service
This PR related to #2721.
It changes the way how storages are loaded if SLS agent.
Instead of loading all storages and go over it one by one and making a lot of "empty" loops (with no actual work because there is no any rule or restore for such storage), sls will load only storages that have at least one lifecycle configuration (rule or restore).
Such approach should dramatically improve performance, because usually only several buckets will have some lifecycle configuration enabled.