Session ownership data is never removed from Redis
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- redis, typescript
调研方向
检查传输数据清理路径和 Redis 键 session:${sessionId}:owner。重现重复创建并完成会话的序列,然后验证会话完成或在定义的时间段后过期时所有权数据会被移除,而不会继续在 Redis 中累积。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Session ownership data is being stored in redis and don't have TTL or are removed
To Reproduce
Steps to reproduce the behavior:
- Create Session
- Finish Session
- Repeat a big number of times
Expected behavior
Session ownership should be cleaned from Redis when session is finished or after a prudential amount of time
Logs
Additional context
Service is storing session ownership info in redis using session:${sessionId}:owner but this data is not removed when cleaning up the transport data. This can cause a memory leak over time if no clean up mechanism is implemented.
- 主要语言
- TypeScript
- 星标
- 80
- 派生
- 39
- 平均合并
- 43 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/example-remote-server 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
bug
难度 3/5 1-2 天 新手友好度 38/100
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
-
bug
难度 4/5 3-5 天 新手友好度 35/100
modelcontextprotocol/example-remote-server#11 · 1 个 reaction ·
查看 modelcontextprotocol/example-remote-server 的全部 Issue
相似的 Issue
-
Browser Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 85/100
getsentry/sentry-javascript#24577 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
agilepathway/label-checker#640 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
难度 1/5 1 小时以内 新手友好度 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
难度 2/5 1-3 小时 新手友好度 76/100
anomalyco/models.dev#7701 ·