Add shadowDelete support to record maintenance

This commit is contained in:
Daniel 2020-09-24 20:59:16 +02:00
parent 30a53cf840
commit bd90e5a5df
10 changed files with 87 additions and 72 deletions

View file

@ -23,7 +23,7 @@ type Interface interface {
Shutdown() error
// Mandatory Record Maintenance
MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time) error
MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time, shadowDelete bool) error
}
// Maintainer defines the database storage API for backends that require regular maintenance.