HomePhabricator

Decide eviction group ties based on time.
1e05727072a5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Decide eviction group ties based on time.

This corrects a bug the case of tying group size where the code may
fail to select the group with the newest member. Since newest time
is the final selection criteria, failing to break ties on it
on the step before can undermine the final selection.

Tied netgroups are very common.

(cherry picked from commit 8e09f914f8ec66301257358b250e9a61befadd95)

Details

Provenance
Gregory Maxwell <greg@xiph.org>Authored on Nov 23 2015, 03:48
MarcoFalke <falke.marco@gmail.com>Committed on Feb 1 2016, 14:31
deadalnixPushed on May 14 2017, 22:04
Parents
rABC1e9613ac090e: Do not absolutely protect local peers from eviction.
Branches
Unknown
Tags
Unknown

Event Timeline

MarcoFalke <falke.marco@gmail.com> committed rABC1e05727072a5: Decide eviction group ties based on time. (authored by Gregory Maxwell <greg@xiph.org>).Feb 1 2016, 14:31