storj/satellite/gracefulexit
Natalie Ventura Villasana aa3e183c2e
satellite/gracefulexit: add ge eligibility check
Adds check to see if storage nodes are eligible to initiate
graceful exit, by checking their CreatedAt date and seeing if
their "age" is greater than the new config value:
NodeMinAgeInMonths
The default for this value is 6 months for now.

https://storjlabs.atlassian.net/browse/V3-3357

Change-Id: Ib807ab8987ddb5a38a27a83886490f73fe8c5816
2019-12-31 09:31:58 -05:00
..
chore_test.go common: separate repository 2019-12-27 14:11:15 +02:00
chore.go common: separate repository 2019-12-27 14:11:15 +02:00
common.go satellite/gracefulexit: add ge eligibility check 2019-12-31 09:31:58 -05:00
db_test.go common: separate repository 2019-12-27 14:11:15 +02:00
db.go common: separate repository 2019-12-27 14:11:15 +02:00
endpoint_test.go satellite/gracefulexit: add ge eligibility check 2019-12-31 09:31:58 -05:00
endpoint.go satellite/gracefulexit: add ge eligibility check 2019-12-31 09:31:58 -05:00
getnodes_test.go common: separate repository 2019-12-27 14:11:15 +02:00
pathcollector.go common: separate repository 2019-12-27 14:11:15 +02:00
pending_test.go common: separate repository 2019-12-27 14:11:15 +02:00
pending.go common: separate repository 2019-12-27 14:11:15 +02:00
validation.go common: separate repository 2019-12-27 14:11:15 +02:00