-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Skip backtracking when far behind,Accept PubSub events after id…
…le (#614) * feat: Accept PubSub events after idle * PubSub events are ignored if they are too far ahead of backtracking. * That means that they will always be ignored after an idle period. * This emits heartbeat events when the query is idle and thereby progress the backtracking timestamp in the PubSub filter. * base relative heartbeat timestamps on initial database time * previous query wall clock minus backtracking behind current time * including fake persistenceId corresponding to the slice * don't deduplicate heartbeat * mima filter * unique heartbeat persistenceId * filter heartbeats early in pubsub merge * feat: Skip backtracking when far behind --------- Co-authored-by: Peter Vlugter <59895+pvlugter@users.noreply.github.com>
- Loading branch information
Showing
11 changed files
with
531 additions
and
91 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
core/src/main/mima-filters/1.2.5.backwards.excludes/heartbeat.excludes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# PR #599 internals | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.persistence.r2dbc.internal.BySliceQuery#QueryState.copy") | ||
ProblemFilters.exclude[IncompatibleResultTypeProblem]("akka.persistence.r2dbc.internal.BySliceQuery#QueryState.copy*") | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.persistence.r2dbc.internal.BySliceQuery#QueryState.this") | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.persistence.r2dbc.internal.BySliceQuery#QueryState.apply") | ||
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.persistence.r2dbc.internal.BySliceQuery#QueryState.unapply") |
2 changes: 2 additions & 0 deletions
2
core/src/main/mima-filters/1.3.0-M1.backwards.excludes/SkipBacktracking.excludes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# internals | ||
ProblemFilters.exclude[Problem]("akka.persistence.r2dbc.internal.BySliceQuery#QueryState*") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.