paul cannon
76d4977b6a
storagenode/gracefulexit: logic moved from worker to service
...
Change-Id: I8b12606a96b712050bf40d587664fb1b2c578fbc
2020-10-22 23:19:30 +00:00
Egon Elbre
0bdb952269
all: use keyed special comment
...
Change-Id: I57f6af053382c638026b64c5ff77b169bd3c6c8b
2020-10-13 15:13:41 +03:00
Egon Elbre
f0ef01de5b
storagenode/gracefulexit: retry workers faster
...
Change-Id: Ica20a691ff117a2b36a6362ee1fed21ce49a9ac1
2020-08-24 12:27:27 +03:00
paul cannon
7395dd1e6e
storagenode/gracefulexit: revalidate existing pieces
...
..before they are transferred to another node and submitted to the
satellite as successful piece transfers, because if we submit an invalid
signature, the node will be marked as a cheater and disqualified
immediately.
These signatures should have been validated when the piece was
originally stored, but bitrot does happen and needn't be cause for an
immediate DQ.
Change-Id: I8b0ebd5812ea8a2e60766005b7251fbb74ef7857
2020-05-28 09:50:14 -05:00
Egon Elbre
94b2b315f7
storagenode/trust: refactor GetAddress to GetNodeURL
...
Most places now need the NodeURL rather than the ID and Address
separately. This simplifies code in multiple places.
Change-Id: I52621d8ca52296a8b5bf7afbc1001cf8bfb44239
2020-05-20 11:05:15 +00:00
Egon Elbre
10be538602
storagenode: add pkg/debug support
...
Change-Id: If941095b886c28a0d53fff4c9bf9fa0ce7471dea
2020-01-29 16:30:31 -05:00
Egon Elbre
d5438036b5
{satellite,storagnode}/gracefulexit: reduce logging
...
Change-Id: I9f274ede77a582fc43ef14a47bf9341d4e3083df
2020-01-19 22:36:13 +02:00
Yingrong Zhao
ebeee58001
storagenode/gracefulexit: remove satellite entry when node fail precondition
...
Change-Id: I3c215170f10f0053e4f8718ee31d64d93f52ec80
2020-01-08 18:11:58 +00:00
Egon Elbre
6615ecc9b6
common: separate repository
...
Change-Id: Ibb89c42060450e3839481a7e495bbe3ad940610a
2019-12-27 14:11:15 +02:00
Egon Elbre
afe05edff2
{storagenode,satellite}/gracefulexit: ensure workers finish their work
...
Fixes a data race caused by not waiting for workers to finish
before shutting down. Currently this ended up failing logging
because it was closed when test tried to write to it.
Change-Id: I074045cd83bbf49e658f51353aa7901e9a5d074b
2019-12-17 17:21:52 +02:00
Rafael Antonio Ribeiro Gomes
da39c71d35
storagenode: add new metric satellite.request ( #3610 )
...
* storagenode: add new metric satellite.request
* storagenode: metrics fixed
* switch from Counter to Meter
2019-11-19 18:11:31 -03:00
Egon Elbre
ee6c1cac8a
private: rename internal to private ( #3573 )
2019-11-14 21:46:15 +02:00
littleskunk
7eb6724c92
logging: unify logging around satellite ID, node ID and piece ID ( #3491 )
...
* logging: unify logging around satellite ID, node ID and piece ID
* unify segment index
2019-11-05 22:04:07 +01:00
Maximillian von Briesen
257d3946d5
storagenode/gracefulexit: allow storagenodes to concurrently transfer pieces for graceful exit ( #3478 )
2019-11-05 10:33:44 -05:00
Natalie Villasana
4878135068
satellite/gracefulexit, storagenode/gracefulexit: add timeouts ( #3407 )
2019-10-30 13:40:57 -04:00
Egon Elbre
65a8e0bcbc
{satellite,storagenode}/gracefulexit: clearer log messages ( #3413 )
2019-10-30 10:21:27 +02:00
Ethan Adams
5b0398a718
storagenode/gracefulexit: Exclude finished exits from chore/worker processing. Fix update status bug ( #3399 )
2019-10-28 13:59:45 -04:00
Ethan Adams
3e0d12354a
storagenode/gracefulexit: Implement storage node graceful exit worker - part 1 ( #3322 )
2019-10-22 16:42:21 -04:00
Ethan Adams
1ad2ba7e3e
storagenode/gracefulexit: Add graceful exit chore and worker. ( #3262 )
...
Adds graceful exit chore and worker for V3-2614
2019-10-15 11:29:47 -04:00