Skip to content

Cleanup policy for shedlock #1930

@sahibamittal

Description

@sahibamittal

Current Behavior

shedlock table holds the logs for locks acquired so far by different tasks/processes. But this data is not required after the task is finished. It is resulting into thousands of tangling records in the table.

Proposed Behavior

Create a cleanup policy for records in the table.
Retention period TBD, or delete records whose lock_until is in past.

Checklist

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions