Commit b0b4b83
Validate replica sequence number before updating seenPerReplica
Add defensive validation in handleExternalReplicatedEventPersist to warn
when receiving events with unexpected sequence numbers from replicas.
This catches bugs in external replication transport implementations.
Resolves FIXME referencing akka/akka-core#29259.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f1a36ba commit b0b4b83
1 file changed
Lines changed: 20 additions & 1 deletion
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
512 | 531 | | |
513 | 532 | | |
514 | 533 | | |
| |||
0 commit comments