Remove protocol version check in the broker #14204
Labels
area/reliability
Marks an issue as related to improving the reliability of our software (i.e. it behaves as expected)
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
target:8.3
Issue must be completed before this target release
version:8.2.14
Marks an issue as being completely or in parts released in 8.2.14
version:8.3.0
Marks an issue as being completely or in parts released in 8.3.0
Description
Zeebe is unable to bump the SBE protocol version due to the following problem. During a rolling upgrade:
The problem is that we're misusing the SBE protocol version:
Currently, Zeebe has a metadata property
recordVersion
which we currently use to differentiate events when they should be applied differently. I.e. an event is something that happened in the past. It describes a state change and should always produce that state change when replayed. Even when its a bug. When we want to fix a bug in an event applier, we need to change the command processor to append events of a newrecordVersion
and add a new event applier version that fixes the bug.Solution
The addition of the
recordVersion
mechanism described above makes the stream-platform protocol version check redundant (and as described above as well, error-prone). As a result, it can be removed.AC
The protocol version check is removed.
Additional context
The text was updated successfully, but these errors were encountered: