Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/adcp/reporting/materializer/pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,12 @@ async def claim_materialization(
)
result = await self._claim_account_on(connection, account_id, keys, lease_seconds)
await self._schedule_account_on(connection, account_id)
return result
# A committed account turn moves its durable served_at rank. Start
# there again so continuously due peers cannot hide newly enrolled
# accounts behind this pre-update cursor. Lock misses above retain
# the continuation, allowing the next bounded page past a busy prefix.
self._materializer_sample_after = None
return result
return ReportingMaterializerTurn("idle")

async def _claim_account_on(
Expand Down
Loading
Loading