You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
EventLog.compensate/3 and EventSequence.compensate/4 append a compensating event to the stream of the event it compensates and return {:ok, AppendResult}. A compensation is always sent immediately and is never buffered in a unit of work. (part of Cratis/Chronicle#3343)
EventContext.compensation_for links a compensating event to the original; it is nil for every other event.
Changed
cratis_chronicle_contracts is raised to ~> 19.125, the first release with the Compensate RPC. A compensation of the event at sequence number 0 reads as nil, because the wire cannot tell the two apart.