You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Many SQL failed around CN scale down due to can not connect to remote backend. #13789
When the CN is scaling down, a large number of SQL executions resulted in errors(can not connect to remote backend.). This issue persisted for approximately 6 minutes.
Activity
nnsgmsone commentedon Dec 28, 2023
no process
nnsgmsone commentedon Jan 2, 2024
出现问题的原因是lockservice的探活存在一些问题,接下来提pr修复这个问题
nnsgmsone commentedon Jan 3, 2024
fixed
aressu1985 commentedon Jan 23, 2024
testing
aressu1985 commentedon Jan 24, 2024
commit: af101ee
DEV环境跑TPCC过程中进行扩缩容,还是会出现问题:
benchmarksql-error-10-10.log
tianyahui-python commentedon Jan 25, 2024
测试场景: 在1个cn场景下,执行tpcc业务, 按照junhong的说法,这时候执行事务会在这个cn上加锁(简单理解锁服务), 当cn扩容到两个的时候, 再执行tpcc 业务, 当前链接会链接到第二个cn上执行sql, 此时 需要访问cn1上的锁服务, 这时候断开cn1上的tpcc 链接, 断开扩缩容业务, 发生缩容, 由于cn2上有session 链接, 所以会优先缩容cn1,这时候再执行cn2上的tpcc业务, 需要先访问cn1上的锁服务, 所以会报错:" can not connect to remote backend"
测试报告:
benchmarksql-error-10-1.log
测试详情:
benchmarksql-info.logc
此处存在另一个bug: 在18:43:11 The connection has not been valid, caused by: Communications link failure 这个地方不应该导致链接断开(扩缩容bug, 另开issue跟踪)
结论: bug 已修复, 验收通过
aressu1985 commentedon Jan 25, 2024
closed