Reject deployment distribute command if deployment already distributed #9912
Labels
area/reliability
Marks an issue as related to improving the reliability of our software (i.e. it behaves as expected)
component/engine
component/zeebe
Related to the Zeebe component/team
kind/toil
Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
scope/broker
Marks an issue or PR to appear in the broker section of the changelog
Description
This is a follow-up on
This bug was patched with:
However, we'd like to implement a more comprehensive solution, by rejecting the Deployment DISTRIBUTE command if the deployment was already distributed to that partition. This would allow us to:
upsert
ALREADY_EXISTS
)A special case exists where the partition has different knowledge about that distributed deployment compared to what is received in this command. This would be an unexpected situation for which we need to consider how to deal with it. Some potential ideas are:
My preference would be the safest option: marking the partition as dead due to corrupted data.
The text was updated successfully, but these errors were encountered: