Merge remote-tracking branch 'upstream/dev_3.2.0' into dev_3.2.0

This commit is contained in:
dhb52 2024-03-31 16:10:09 +08:00
commit 31b317a3b1
2 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,6 @@
</foreach>
) tt
SET rt.expire_at = tt.expire_at, rt.context_path = tt.context_path,
rt.context_path = tt.context_path
WHERE rt.host_id = tt.host_id and rt.host_ip = tt.host_ip
</update>
<select id="countActivePod"

View File

@ -122,6 +122,8 @@ public class ServerRegister extends AbstractRegister {
for (final ServerNode node : serverNodes) {
// 刷新全量本地缓存
CacheRegisterTable.addOrUpdate(node);
// 刷新过期时间
CacheConsumerGroup.addOrUpdate(node.getGroupName(), node.getNamespaceId());
}
}
} catch (Exception e) {