littleskunk
2a5526fcc4
satellite/repair: reduce timeout ( #3302 )
2019-10-18 13:43:24 +02:00
Ivan Fraixedes
071d1c4313
upload: Add more info to returned error response & to logs ( #3218 )
...
* uplink/storage/segments: return error no optimal threshold
Return an error if the store get less uploaded pieces than the indicated
by the optimal threshold.
* satellite/metainfo: Fix gRPC status error & add reason
This commit fix the CommitSegment endpoint method to return an
"Invalid Argument" status code when uplink submits invalid data which is
detected when filtering invalid pieces by filterInvalidPieces endpoint
method.
Because filterInvalidPieces is also used by CommitSegmentOld, such
method part has been changed accordingly.
* An initial check in CommitSegment to detect earlier if uplink sends an
invalid number of upload pieces.
* Add more information to some log messages.
* Return more information to uplink when it sends a number of invalid
pieces which make impossible to finish the operation successfully.
* satellite/metainfo: Swap some "sugar" loggers to normal ones
Swap "sugar" loggers to normal ones because they impact the performance
in production systems and they should only be used under specific
circumstances which were none of the ones changed.
2019-10-17 20:01:40 +02:00
Nikolai Siedov
f4162bd33f
satellite/console: add REST registration API endpoint ( #3303 )
2019-10-17 19:34:27 +03:00
Natalie Villasana
45c35d7c3f
satellite/satellitedb: add exit_status column to nodes table ( #3301 )
2019-10-17 11:01:39 -04:00
Yehor Butko
26cc625dc6
satellite/console: payments api ( #3297 )
2019-10-17 17:42:18 +03:00
Natalie Villasana
22d0f89941
satellite/gracefulexit: use zap.Stringer instead of zap.String ( #3299 )
2019-10-17 10:29:35 -04:00
Yaroslav Vorobiov
24e72f35d3
satellite/payments: token deposit ( #3283 )
2019-10-17 17:04:50 +03:00
Natalie Villasana
855fca003d
satellite/metrics: create a metrics chore ( #3263 )
...
* add metrics counter and chore
* updates metrics observer interval release default and dev default to 15min
* add more specific check for remote pointers
* add Counter field to metrics chore, add counter tests
* rm redundant ObjectCount suffix
* make pointer check easier to read
* change metrics.Config.Interval to ChoreInterval
* rm unneeded var
* fix comment
* update satellite config lock
2019-10-16 14:08:33 -04:00
Cameron
76ad83f12c
satellite/accounting: add redis support to live accounting ( #3213 )
...
* set up redis support in live accounting
* move live.Service interface into accounting package and rename to Cache, pass into satellite
* refactor Cache to store one int64 total, add IncrBy method to redis client implementation
* add monkit tracing to live accounting
2019-10-16 12:50:29 -04:00
littleskunk
6e7607239c
satellite/repair: improve logging ( #3287 )
...
* satellite/repair: improve logging
* use Stringer wherever possible
2019-10-16 17:28:56 +02:00
Nikolai Siedov
c1033fc1ed
satellite/console: move token to separate endpoint ( #3292 )
2019-10-16 18:01:15 +03:00
littleskunk
2301a8287f
Satellite/PieceHashValidation: Increase time window from 2h to 24h to avoid timezone issues ( #3291 )
2019-10-16 06:47:08 -06:00
littleskunk
eeb38245ff
satellite/audit: improve logging ( #3285 )
2019-10-16 13:48:05 +02:00
Ethan Adams
37ab84355f
satellite/gracefulexit: protobuf field name updates ( #3284 )
...
rename piece_id to original_piece_id
2019-10-15 15:59:12 -04:00
Yehor Butko
a5f4bbee22
satellite/payments: dbx scheme renamed, userID placed on Account level ( #3281 )
2019-10-15 21:05:45 +03:00
Natalie Villasana
cf430d2d73
scripts: add check-monitoring script to detect changes to monkit calls ( #3114 )
2019-10-15 13:00:14 -04:00
Yehor Butko
4d43b67ff9
add credit card to payment account ( #3279 )
2019-10-15 17:50:28 +03:00
Vitalii Shpital
f1867a954b
web/satellite: project members sorting fixed ( #3231 )
2019-10-15 15:24:53 +03:00
Yehor Butko
501816770b
satellite/payments: receive credit cards ( #3249 )
2019-10-15 14:23:54 +03:00
littleskunk
5b20c716e6
satellite/repair: dont error on deleted segments ( #3252 )
2019-10-15 05:39:28 +02:00
Jess G
87a426f228
internal/testplanet: add satellite.API to testplanet ( #3237 )
2019-10-14 16:01:53 -04:00
JT Olio
1b66517664
contact: small typo
...
Change-Id: If9126ae518b5672bfd9163a8c9fc518727d5138b
2019-10-14 13:21:05 -06:00
Jennifer Li Johnson
b185dbbee2
satellite/discovery: remove discovery related code ( #3175 )
2019-10-14 10:57:01 -04:00
littleskunk
96aeedcdee
OrderLimit/GracePeriod: Increase time window from 1h to 24h ( #3255 )
...
* OrderLimit/GracePeriod: Increase time window from 1h to 24h
* update satellite config lock
2019-10-13 17:40:24 +02:00
Ethan Adams
78ccf14837
fix interface and EOF check ( #3251 )
2019-10-12 07:06:20 -06:00
Ethan Adams
a1275746b4
satellite/gracefulexit: Implement the 'process' endpoint on the satellite ( #3223 )
2019-10-11 17:18:05 -04:00
JT Olio
a5d1776539
audits: missing continue
...
Change-Id: Ifcac8e61ebd8c59407e01c791adc60d9f88ff1b7
2019-10-11 13:55:27 -06:00
Yaroslav Vorobiov
535742d37e
satellite/payments: add coinpayments HTTP client ( #3181 )
2019-10-11 18:51:14 +03:00
Yehor Butko
451909b3ec
satellite/payments: account balance ( #3242 )
2019-10-11 18:00:35 +03:00
Egon Elbre
e9c36d560f
satellite: make PointerDB an argument to satellite.New ( #3233 )
2019-10-10 21:06:26 +03:00
Yehor Butko
0cc23add5b
satellite/payments - payment account setup ( #3187 )
2019-10-10 20:12:23 +03:00
Bogdan Artemenko
5f775b9e46
satellite/console: Added error for adding api key with existing name attempt. ( #3185 )
2019-10-10 16:28:35 +03:00
Maximillian von Briesen
784ca1582a
satellite/audit: fix audit panic ( #3217 )
2019-10-09 10:06:58 -04:00
Bogdan Artemenko
ed3a424858
satellite/console: Removed 'user not found' message on password reset request ( #3184 )
2019-10-09 13:18:58 +03:00
Maximillian von Briesen
3a3d576d9b
satellite/audit: add mutex to pieceHashesVerified map ( #3214 )
...
* add mutex
* remove double send to ch
* lock mutex inside defer
* import sync
2019-10-08 17:01:32 -04:00
Maximillian von Briesen
f75893c1ba
satellite/overlay: do not include gracefully exiting nodes in node selection ( #3211 )
2019-10-08 15:03:38 -04:00
Egon Elbre
a744fdfef0
satellite/metainfo: remove Iterate from service ( #3196 )
...
* satellite/metainfo: remove Iterate from service
* fix test
2019-10-08 07:39:23 -07:00
Maximillian von Briesen
0ea0d8c3da
satellite/overlay: remove overlay.IsVetted ( #3203 )
2019-10-08 09:25:41 -04:00
littleskunk
c009543236
satellite/audit: Add piece hash verified to log messages ( #3204 )
2019-10-08 12:51:57 +02:00
Egon Elbre
73d4d83467
satellite/accounting: implement tally as an observer ( #2992 )
2019-10-07 16:55:20 -04:00
Ethan Adams
4c4519f0be
satellite/gracefulexit: add transfer queue for pieces ( #3174 )
...
initial impl of transfer queue
updated docs represent the new design how we handle durability during exit
2019-10-07 16:38:05 -04:00
Maximillian von Briesen
e1b7d01160
satellite/audit: do not fail or contain nodes for audited segments that are not piece-hash-verified ( #3161 )
2019-10-07 16:06:10 -04:00
Maximillian von Briesen
a75e3e6b81
satellite/repairer: fix segment_time_until_repair metric ( #3199 )
2019-10-07 13:54:12 -04:00
littleskunk
b908a09c8e
satellite/repair: remove deprecated error message ( #3193 )
2019-10-06 20:54:20 +02:00
Cameron
eb5413ae5e
defer close piecestore in downloadAndVerifyPiece ( #3192 )
2019-10-06 13:41:53 -04:00
Jennifer Li Johnson
7ceaabb18e
Delete Bootstrap and Kademlia ( #2974 )
2019-10-04 16:48:41 -04:00
Egon Elbre
6afa4dd9cf
satellite/accounting: refactor code and remove unused fields ( #3178 )
2019-10-04 22:09:52 +03:00
Michal Niewrzal
b25e0154c9
internal/testplanet: use postgres for pointerDB ( #3139 )
2019-10-04 07:12:21 -07:00
Nikolay Yurchenko
51003dcad2
web/satellie: added missing alt attribute to img tags ( #3172 )
2019-10-04 16:22:26 +03:00
Egon Elbre
394a9c82c3
satellite/{accounting/tally,repair/checker}: create a valid test pointer ( #3167 )
2019-10-04 13:05:25 +03:00