Skip to content

Upgrade to 26.2.1: Issue feed no new issues... #4201

@stumbaumr

Description

@stumbaumr

Self-Hosted Version

26.2.1

CPU Architecture

x86_64

Docker Version

28.0.4, build b8034c0ed70494a90c133461d145cd072d920d7c

Docker Compose Version

5.1.0

Machine Specification

  • My system meets the minimum system requirements of Sentry

Installation Type

Upgrade from 25.10

Steps to Reproduce

Took me a while to fix this so I wanted to leave this here in case someone else experiences this problem:

  • Upgrade from 25.10 to 26.2.1
  • First cron updates stopped taking in state updates
  • Then no more updates in the issue feed
  • Tried restarts and redeploys by cleaning up to no avail

Expected Result

After the Upgrade new issues should be processed and appear in the feed.

Actual Result

No new issues appeared, then started debugging.

Here the result(s):

  1. Relay project configs never generated (immediate symptom)
    The taskworker was running but consuming zero tasks. All tasks queued in the taskworker Kafka topic had application="" (set by Sentry 25.x). The new 26.2.1 taskworker sends GetTaskRequest(application='sentry') when fetching work — the taskbroker filter mismatch meant it found nothing and entered a slow backoff loop.
  2. Huge task backlog from the old version
    Every event ingested by the old Sentry (25.10) created save_event_transaction tasks in the taskworker Kafka topic. These expired tasks were never processed and blocked the consumer offset.

This was the fix I went for:
Manually populated Redis with project configs for all project keys using compute_projectkey_config(), unblocking relay immediately.
Then stopped taskbroker + taskworker and deleted all stale tasks from the SQLite database (DELETE FROM inflight_taskactivations)
Reset the taskworker Kafka consumer group offset to latest (skipping those obsolete tasks)
Restarted both services — new tasks generated by 26.2.1 including application='sentry' were then processed.

This is fixed for me - so no idea if I should immediately close it or maybe let it should linger for some time to make it easier for other people to find it.

Event ID

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions