nanhe17 commented on issue #7723: URL: https://github.com/apache/shenyu/issues/7723#issuecomment-6263619277
你好,我想认领这个 issue。我已在 master 上确认了问题:`instance-info-sqlmap.xml` 的结果映射、列清单、insert 和 update 语句都遗漏了 `last_heart_beat_time`,各数据库方言的初始化/升级脚本也缺少该列,并且 create 路径从未拷贝 VO 中的心跳时间——导致所有数据库读取和重启恢复看到的都是 0。 计划:端到端补上该列(mapper XML + H2/MySQL/PG/Oracle 初始化 schema + 五个 2.7.1→2.7.2 升级脚本),create 路径补上值拷贝,并增加 mapper 回环回归测试和服务层路径测试。改动已在本地实现并验证通过,PR 将随后提交。 --- Hi, I'd like to work on this issue. I've confirmed the gap on master: `instance-info-sqlmap.xml` omits `last_heart_beat_time` from the result map, column list, insert and update, the init/upgrade schemas for all dialects lack the column, and the create path never copies the VO's heartbeat value — so every DB read and restart restore sees 0. Plan: add the column end-to-end (mapper XML + H2/MySQL/PG/Oracle init schemas + the five 2.7.1→2.7.2 upgrade scripts), copy it on the create path, and add mapper round-trip regression tests plus service-path tests. The change is implemented and verified locally; PR will follow shortly. /assign -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
