Skip to content

Commit d6cbb64

Browse files
committed
fix: fix docs
1 parent d8f821a commit d6cbb64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/SAGA.puml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ participant "Registrator" as Registrator
1010
Service -> Registrator: run new saga
1111
Registrator --> Service: return SagaId
1212
Service -> Service: run first step
13-
Service --> Registrator: run second step, send second step compensation
13+
Service --> Registrator: run second step, send first step compensation
1414
Service --> ServiceA: run second step
1515

1616
ServiceA -> ServiceA: run second step
17-
ServiceA --> Registrator: run third step, send third step compensation
17+
ServiceA --> Registrator: run third step, send second step compensation
1818
ServiceA --> ServiceB: run third step
1919

2020

@@ -23,6 +23,5 @@ ServiceB -[#red]> ServiceB: run third step (ERROR)
2323

2424
Registrator -> Registrator: third step timeout (12 hours), send compensations
2525

26-
Registrator --> ServiceB: Compensation for third step
2726
Registrator --> ServiceA: Compensation for second step
2827
Registrator --> Service: Compensation for first step

0 commit comments

Comments
 (0)