waimak icon indicating copy to clipboard operation
waimak copied to clipboard

Clean-up strategy should error if no folders exist after committing

Open alexjbush opened this issue 5 years ago • 0 comments

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

  1. Specify an incorrect folder structure for the withDateBasedSnapshotCleanup
  2. Run job
  3. Check to see if folders are cleaned up

Specifications

  • Waimak Module: Core

alexjbush avatar Mar 13 '19 17:03 alexjbush