waimak
waimak copied to clipboard
Clean-up strategy should error if no folders exist after committing
It is currently hard to track when configuration for the clean-up strategy function is incorrect resulting in untracked data growth.
Expected Behavior
Exception should be thrown if configuration for clean-up is incorrect. This can be done by ensuring at least one snapshot folder exists. This should be safe as clean-up is done directly after a snapshot is made.
Actual Behavior
If the configuration is incorrect, there is no warning and therefore data volume grows unchecked.
Steps to Reproduce the Problem
- Specify an incorrect folder structure for the
withDateBasedSnapshotCleanup
- Run job
- Check to see if folders are cleaned up
Specifications
- Waimak Module: Core