Session Replays 和 FileBlobs 之间的命名空间冲突阻碍了 S3 生命周期管理
作者: adiantek创建于 2026年3月26日更新于 2026年9月29日
标签Product Area: ReplaysImprovementTech Debt
- 回放使用基于保留时间的前缀:
"{retention_days or 30}/{project_id}/{replay_id}/{segment_id}"(例如, 90/123/...): https://GitHub.com/getsentry/sentry/blob/26.3.1/src/sentry/replays/lib/storage.py#L64 - 文件 Blob 使用哈希路径: shards/path (例如, 90/7b0d/... 其中 90 是哈希前缀): https://GitHub.com/getsentry/sentry/blob/26.3.1/src/sentry/models/files/abstractfileblob.py#L218
内容来源: getsentry/sentry