case 1:
Issue:
ZooKeeper service discovery fails to detect service instances going offline — Critical
Root cause:
In registry/zookeeper/src/lib.rs, the second loop within the diff() function queries the wrong map:
As a result, removed_hosts remains empty, and consumers continue to send requests to "zombie" nodes after the provider has gone offline.
case 2:
Issue:
Incorrect operator precedence in TLS conditional expression — Critical
Root cause:
!self.keys.len() != 0 always evaluates to true; this causes a panic due to remove(0) when certificates are present but keys are missing.
case 1:
Issue:
ZooKeeper service discovery fails to detect service instances going offline — Critical
Root cause:
In
registry/zookeeper/src/lib.rs, the second loop within thediff()function queries the wrong map:As a result,
removed_hostsremains empty, and consumers continue to send requests to "zombie" nodes after the provider has gone offline.case 2:
Issue:
Incorrect operator precedence in TLS conditional expression — Critical
Root cause:
!self.keys.len() != 0always evaluates totrue; this causes a panic due toremove(0)when certificates are present but keys are missing.