Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Ben BrooksBen BrooksReporter
Adam FraserAdam FraserStory Points
1Components
Sprint
NoneFix versions
Priority
MajorInstabug
Open Instabug
Details
Details
Assignee
Ben Brooks
Ben BrooksReporter
Adam Fraser
Adam FraserStory Points
1
Components
Sprint
None
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created March 20, 2024 at 4:46 AM
Updated February 25, 2025 at 7:02 PM
Resolved May 1, 2024 at 2:37 PM
We're currently updating the last processed sequence before invoking the DCP callback. In the majority of cases this is harmless, as the metadata won't be persisted unless incrementCheckpoint is called (which happens after the callback).
Similarly, in the case of node failure, the updated sequence will only be in memory and not persisted, so shouldn't cause a problem.
However, there appears to be a corner case associated with pindex rebalance. When a feed is gracefully closed it will trigger persistence of the metadata when the stream is reopened, which has the potential to pick up an updated sequence associated with the previous pindex (which may include an in-flight sequence update). If that in-flight update subsequently fails, the DCP checkpoint will have been moved past the mutation.