You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maintenance tasks populate the metadata at task start and again at task completion / failure.
Atomic bitmap swap on backfill completion: a refresh of an env that already has bitmap data leaves the prior data readable until the new bitmaps replace it in a single transaction.
Enqueue guard: refuse to enqueue a new backfill for an env if last_backfill_status="running", or if last_backfill_started_at is within a configurable cooldown window (default 1 minute).
Acceptance criteria
A first-ever backfill leaves last_backfill_status="running" while the task runs and succeeded when it completes.
A refresh of an env with existing bitmap data sets status back to running without clearing the prior data; the prior bitmaps remain queryable until the new ones replace them atomically.
Failed backfills leave status="failed" and emit a segment_membership.backfill.failed structlog event.
Enqueueing a backfill for an env whose last_backfill_status="running" is a no-op: no duplicate task, no metadata mutation, sentinel returned.
Enqueueing a backfill within the cooldown window of a previous completion is a no-op until the window passes.
Activity
khvn26 commentedon May 9, 2026
Closing as not planned. Replaced by #7469 — V1 (Beta) epic for the columnar design. The bitmap design this issue was scoped against was retired at the 5/5/2026 RFC review in favour of the columnar approach now shipping in Alpha. See Segment Membership Inspection (columnar) (private to Flagsmith team) for the new RFC.