Cameron
1283036e37
add storage node voucher request service ( #2158 )
...
* add voucher service on storage node
* config field tag syntax, go routines for requests
* hook up voucher service in storagenode/peer.go
* add voucher config to testplanet
* add voucher config to testplanet
* add voucher response status INVALID, ACCEPTED, REJECTED
* add a test for vouchers service
* handle no row from GetValid, test it
* add trust pool to voucher service
* use trusted list to get satellites
* verify vouchers upon receipt
* test VerifyVoucher
2019-06-21 18:48:52 -04:00
Yehor Butko
e5fd0287e4
V3-1819 Storage node operator server and service started ( #2112 )
...
* V3-1819 Storage node operator server and service started
2019-06-20 14:52:32 +03:00
littleskunk
b1e5cf1200
add index on pieceinfo expireation for faster GetExpired calls ( #2220 )
...
* add index on pieceinfo expireation for faster GetExpired calls
* Add Migration File
2019-06-18 01:27:14 +02:00
Cameron
23587bba0c
Storagenode vouchers table ( #2121 )
...
* add vouchers table with methods
2019-06-07 16:20:34 -04:00
Egon Elbre
03fece56de
Ensure Storage Nodes collect expired used serial numbers ( #2143 )
2019-06-06 22:06:31 +03:00
JT Olio
d02427e41a
db: set max open conns, conn max lifetime, add db stat monitoring ( #2117 )
2019-06-04 23:30:21 +02:00
JT Olio
c4bb84f209
storagenode: add monkit task to missing places ( #2107 )
2019-06-04 14:31:38 +02:00
Egon Elbre
9c23c2d427
db: set max idle connections higher to avoid redialing all the time ( #1991 )
2019-05-21 17:30:06 +03:00
Egon Elbre
a2b61fd67c
storage node collector ( #1913 )
2019-05-08 14:11:59 +03:00
Stefan Benten
ac452a5819
Add Network Wipe for Storagenodes ( #1909 )
...
* Add Network Wipe Migration to InfoDB
* Remove New Data Section
2019-05-07 22:05:50 +02:00
Egon Elbre
60c4c10c79
storagenode: delete psserver ( #1837 )
2019-04-26 08:17:18 +03:00
Egon Elbre
f7ed63a119
handle database error checks properly ( #1796 )
2019-04-23 14:13:57 +03:00
Bryan White
faf5fae3f9
Identity versioning ( #1389 )
2019-04-08 20:15:19 +02:00
aligeti
6a1d343abd
Delete expired pieces on storage nodes ( #1629 )
2019-04-08 18:46:38 +02:00
Egon Elbre
fba9a5f945
migration tests for storagenodedb infodb ( #1628 )
2019-04-02 09:54:09 +02:00
Egon Elbre
63737e350f
Delete psserver and unused mocks ( #1605 )
2019-03-29 16:40:06 +02:00
Egon Elbre
2c5c2c29da
storage node order sending ( #1535 )
2019-03-21 15:24:26 +02:00
Michal Niewrzal
d7feafe56b
Move psserver tests ( #1522 )
2019-03-20 23:12:00 +02:00
Egon Elbre
117edec54c
Add serial number type ( #1508 )
2019-03-18 15:08:24 +02:00
Egon Elbre
05d148aeb5
Storage node and upload/download protocol refactor ( #1422 )
...
refactor storage node server
refactor upload and download protocol
2019-03-18 12:55:06 +02:00
Egon Elbre
3f3209c8d5
fixes to piecestore and psdb ( #1380 )
...
* replace direct reference with an interface in various places
* hide piecePath
* ensure psserver tests don't use path
* ensure psserver tests don't use sql queries directly
2019-03-01 07:46:16 +02:00
Michal Niewrzal
8d685217e4
Storagenode migrations ( #1299 )
...
* creates initial migration for psdb
* add test mechanism to validate migration to every version
* fix few small issues in versions.go and context.go
2019-02-19 10:39:04 +01:00
Egon Elbre
1df81b1460
Separate garbage collect logic from psdb ( #1167 )
2019-01-29 17:41:01 +02:00
Egon Elbre
187e9b2138
Code consistency between peers ( #1126 )
2019-01-24 22:28:06 +02:00
Egon Elbre
b6c61cdd55
Use storagenode.Peer for storagenode ( #1107 )
2019-01-23 12:39:03 +02:00
Egon Elbre
8893884044
convert piecestorage into a struct ( #1024 )
2019-01-11 13:26:39 +02:00
Egon Elbre
eb69ecadec
Storage Node Peer ( #1005 )
2019-01-10 15:13:27 +02:00