Skip to content

Replay loading hangs due to ContextPropagatingThreadPoolExecutor #115713

@DanielMcAssey

Description

@DanielMcAssey

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

  1. Open a replay that has multiple recording segments
  2. Attemot to load or play the Replay in the UI

Expected Result

The Replay loads normally and begins playback.

Actual Result

The Replay hangs while loading and does not begin playback. Applying a patch to revert ContextPropagatingThreadPoolExecutor back to ThreadPoolExecutor in src/sentry/replays/usecases/reader.py resolves the issue.

Introduced by this PR: #111460
I also think the ContextPropagatingThreadPoolExecutor is responsible for the issues seen here: getsentry/self-hosted#4326

Product Area

Replays

Link

No response

DSN

No response

Version

26.4.2

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions