Fixes the exception Caggs already exists that was caused when a cagg for one resolution was again created when the scan_for_new_rollups() was re-executed. Added a test under metric_rollups_scan_for_new_rollups to ensure correct behaviour.
execute_caggs_compression_policy() used to panic when looping over already compressed chunk of a Cagg that has some uncompressed chunks that need compression. Added rerunning compression policy to ensure correct behaviour.
Merge requirements
Please take into account the following non-code changes that you may need to make with your PR:
Description
This PR does 2 things:
Caggs already exists
that was caused when a cagg for one resolution was again created when thescan_for_new_rollups()
was re-executed. Added a test undermetric_rollups_scan_for_new_rollups
to ensure correct behaviour.execute_caggs_compression_policy()
used to panic when looping over already compressed chunk of a Cagg that has some uncompressed chunks that need compression. Added rerunning compression policy to ensure correct behaviour.Merge requirements
Please take into account the following non-code changes that you may need to make with your PR: