storj/satellite/gracefulexit
Yingrong Zhao 292e64ee2f
satellite/gracefulexit: check duplicate node id before update pointer (#3380)
* check duplicate node id before update pointer

* add test for transfer failure when pointer already contain the receiving node id

* check exiting and receiving nod are still in the pointer

* check node id only exists once in a pointer

* return error if the existing node doesn't match with the piece info in the pointer

* try to recreate the issue on jenkins

* should not remove exiting node piece in test

* Update satellite/gracefulexit/endpoint.go

Co-Authored-By: Maximillian von Briesen <mobyvb@gmail.com>

* Update satellite/gracefulexit/endpoint.go

Co-Authored-By: Maximillian von Briesen <mobyvb@gmail.com>
2019-10-27 14:20:22 -04:00
..
chore_test.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
chore.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
common.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
db_test.go satellite/gracefulexit: Implement the 'process' endpoint on the satellite (#3223) 2019-10-11 17:18:05 -04:00
db.go satellite/gracefulexit: Implement the 'process' endpoint on the satellite (#3223) 2019-10-11 17:18:05 -04:00
endpoint_test.go satellite/gracefulexit: check duplicate node id before update pointer (#3380) 2019-10-27 14:20:22 -04:00
endpoint.go satellite/gracefulexit: check duplicate node id before update pointer (#3380) 2019-10-27 14:20:22 -04:00
getnodes_test.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
pathcollector.go satellite/gracefulexit: Implement the 'process' endpoint on the satellite (#3223) 2019-10-11 17:18:05 -04:00