Merge remote-tracking branch 'upstream/dev_3.2.0' into dev_3.2.0
This commit is contained in:
commit
31b317a3b1
@ -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"
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user