Browse Source
getAllServiceIds() rebuilds two HashSets just to test membership of a single id - PartitionService#isKnownServiceId scans the live service lists directly instead, for the hot path in DefaultTbClusterService's per-notification unknown-service guard. SetCache.boundedBySize() adds an LRU-by-size variant alongside the existing TTL-based constructor.pull/15729/head
4 changed files with 45 additions and 3 deletions
Loading…
Reference in new issue