File tree Expand file tree Collapse file tree
src/Vertex.Transaction/Actor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ await this.TxEventStorage.Append(new EventDocument<TPrimaryKey>
205205
206206 protected override async ValueTask OnTxRollback ( string txId )
207207 {
208- if ( ! string . IsNullOrEmpty ( txId ) && this . EventTypeContainer . TryGet ( typeof ( TxFinishedEvent ) , out var eventName ) )
208+ if ( ! string . IsNullOrEmpty ( txId ) && this . EventTypeContainer . TryGet ( typeof ( TxRollbackEvent ) , out var eventName ) )
209209 {
210210 var rollbackEvent = new EventUnit < TPrimaryKey >
211211 {
@@ -217,7 +217,7 @@ await this.TxEventStorage.Append(new EventDocument<TPrimaryKey>
217217 {
218218 FlowId = txId ,
219219 ActorId = this . ActorId ,
220- Data = this . Serializer . Serialize ( rollbackEvent . Event as TxFinishedEvent ) ,
220+ Data = this . Serializer . Serialize ( rollbackEvent . Event as TxRollbackEvent ) ,
221221 Name = eventName ,
222222 Timestamp = rollbackEvent . Meta . Timestamp ,
223223 Version = rollbackEvent . Meta . Version ,
You can’t perform that action at this time.
0 commit comments