Management Server does not recognize a session as removed in some scenarios
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 7 天 14 小時
- 30 天內合併 PR
- 31
描述
### 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