Upgrading leaves deadline entries without jobs #13881
Labels
kind/bug
Categorizes an issue or PR as a bug
severity/mid
Marks a bug as having a noticeable impact but with a known workaround
version:8.2.12
Marks an issue as being completely or in parts released in 8.2.12
version:8.3.0-alpha5
Marks an issue as being completely or in parts released in 8.3.0-alpha5
version:8.3.0-alpha6
Marks an issue as being completely or in parts released in 8.3.0-alpha6
version:8.3.0
Marks an issue as being completely or in parts released in 8.3.0
Describe the bug
Upgrading a Zeebe cluster to a new version that includes fixes for #12797 and #13041, entries in the job deadline column family might be leaked, causing repeated error logs that a corresponding job cannot be found.
The cause is a change in behavior where we now expect no duplicate deadline entries and don't clean up duplicated or orphaned entries.
To Reproduce
Use 8.2.8, force the creation of duplicated deadline entries (probably happens with a long processing queue) and then upgrade to 8.2.9 or later.
Expected behavior
A migration cleans up orphaned entries so that they are removed from the state and do not cause error logs forever.
Environment:
Zeebe <=8.2.8 upgrades to > 8.2.8
Zeebe <= 8.1.? upgrades to > 8.1.?
Zeebe <= 8.0.? upgrades to > 8.0.?
The text was updated successfully, but these errors were encountered: