This repository was archived by the owner on Jan 24, 2024. It is now read-only.
Commit e931b6d
[fix][transaction] Handle errors while writing transaction logs and markers (#1962)
### Modifications
Handle correctly NOT_LEADER_OR_FOLLOWER while writing TX markers.
Handle BROKER_NOT_AVAILABLE in
TransactionMarkerRequestCompletionHandler.
Co-authored-by: Enrico Olivelli <[email protected]>1 parent 1dda879 commit e931b6d
File tree
2 files changed
+6
-3
lines changed- kafka-impl/src/main/java/io/streamnative/pulsar/handlers/kop/coordinator/transaction
2 files changed
+6
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
| |||
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| 414 | + | |
| 415 | + | |
414 | 416 | | |
415 | 417 | | |
416 | 418 | | |
| |||
464 | 466 | | |
465 | 467 | | |
466 | 468 | | |
467 | | - | |
| 469 | + | |
| 470 | + | |
468 | 471 | | |
469 | 472 | | |
470 | 473 | | |
| |||
0 commit comments