sk0x50 commented on code in PR #7541:
URL: https://github.com/apache/ignite-3/pull/7541#discussion_r2773485936
##########
modules/placement-driver/src/main/java/org/apache/ignite/internal/placementdriver/leases/LeaseTracker.java:
##########
@@ -176,8 +176,8 @@ public Lease getLease(ReplicationGroupId grpId) {
return lease == null ? emptyLease(grpId) : lease;
}
- /** Returns collection of leases, ordered by replication group. */
- public Leases leasesCurrent() {
+ /** Returns collection of latest leases, ordered by replication group.
Shows all latest leases including expired ones. */
+ public Leases leasesLatest() {
Review Comment:
It seems a little weird to me. Maybe it should be renamed to
`latestLeases()` or even `latest()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]