Management Server does not recognize a session as removed in some scenarios
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.4k
- 平均合并
- 6 天 19 小时
- 30 天内合并 PR
- 32
描述
### Problem Description
In some scenarios, the Management Server does not recognize that a console session has been released. As a consequence of that, the `removed` column of the `cloud.console_session` table remains indefinitely marked as `NULL`.
### Versions
ACS versions 4.19 and 4.20
### The steps to reproduce the bug
- https://github.com/apache/cloudstack/pull/11016#pullrequestreview-2993780512 and https://github.com/apache/cloudstack/pull/11016#issuecomment-3052399701 describe two different situations in which this bug occur.
### What to do about it?
Normalize these scenarios, ensuring that the `removed` attribute of console sessions is corretly set to the datetime in which the sessions are released.
贡献指南
调研方向
先阅读 review 和 pull request #11016 的评论中描述的两个场景,然后跟踪 Management Server 如何记录 console-session 释放事件。根据 cloud.console_session 表验证该行为,并在每个已报告的场景都将 removed 设置为释放日期时间而不是保持为 NULL 时,视为工作完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100