Maximillian von Briesen
900ede151a
do not return error if no stripe in audit selection ( #1867 )
2019-05-01 14:59:30 -04:00
Bill Thorp
6ece4f11ad
moved invalid/offline back into SQL ( #1838 )
...
* moved invalid/offline back into SQL, removed GetAll()
2019-05-01 09:45:52 -04:00
Bogdan Artemenko
ecb81144a1
Macaroon Library ( #1537 )
...
* Added initial implementation of Macaroon Library.
* Implemented Unit tests.
* Added header.
* Serialization refactoring.
* Added description for Macaroon and Caveat struct.
* Removed NewNonce. Use NewSecret instead.
* change macaroon library to just use bytes directly
Change-Id: I0411203cb09244605d2ee49f9d9b9b1e2bf46c76
* linting
Change-Id: I0363c0e30b610966eb18ff8b3905d75c69541610
2019-05-01 08:40:56 -04:00
Natalie Villasana
7d33a2042d
makes TestBootstrapBackoffReconnect not flaky ( #1871 )
...
* rm badProxy's dropInterval, replaces with dropCount
2019-05-01 07:34:14 -04:00
Egon Elbre
ba322abd9c
Remove Travis ( #1868 )
2019-04-30 21:18:32 +03:00
Bill Thorp
2c9ef5b107
longer repair window ( #1866 )
2019-04-30 11:20:18 -04:00
Cameron
60abab1176
move nodeData length check after latestTally is updated in CalculateAtRestData ( #1841 )
...
* mode nodeData length check after latestTally is updated
* add test to verify unique constraint issue is fixed
2019-04-29 13:46:38 -04:00
Bill Thorp
2367918331
removed unused .List() method ( #1853 )
...
* removed unused .List()
* removed unused test
2019-04-26 17:41:13 +02:00
Egon Elbre
db939d37ec
cover all the things ( #1818 )
2019-04-26 16:39:11 +03:00
Natalie Villasana
bcfb03836f
kademlia Bootstrap function has exponential backoff ( #1786 )
...
* add exponential backoff to kademlia
2019-04-26 08:42:09 -04:00
Bill Thorp
a11dc76169
wired up online config ( #1827 )
...
* wired up online config
2019-04-26 08:15:06 -04:00
Egon Elbre
80400e7811
delete unused buckets/mocks ( #1849 )
2019-04-26 12:09:23 +03:00
Egon Elbre
60c4c10c79
storagenode: delete psserver ( #1837 )
2019-04-26 08:17:18 +03:00
Jennifer Li Johnson
db6a2a46a9
set delete-tallies default to false ( #1844 )
2019-04-25 15:30:37 -04:00
Maximillian von Briesen
50a0bffa0a
Improve audit cursor NextStripe ( #1821 )
2019-04-25 11:43:26 -04:00
Bryan White
fd9d244de7
add info log for successfull authorizations ( #1804 )
2019-04-25 12:47:40 +02:00
Michal Niewrzal
fe3dfc1587
Move pointerdb.Service to satellite ( #1826 )
2019-04-25 10:46:32 +02:00
Michal Niewrzal
a585b97363
Download is hanging when one node is not responsive ( #1764 )
...
Change closes download connection in parallel and sets a timeout for communication between uplink and storage node
2019-04-25 10:17:26 +02:00
Michal Niewrzal
dcea59205d
Uplink CLI setup welcome message ( #1735 )
2019-04-24 15:17:32 +02:00
Egon Elbre
ee3bf4a102
only run selection code once ( #1825 )
2019-04-24 06:35:50 -04:00
Egon Elbre
c284cfde30
ensure TestParallel doesn't deadlock on error ( #1808 )
2019-04-24 13:15:46 +03:00
Bill Thorp
cd4a3e06d8
wired up IsHealthy to config ( #1820 )
...
* wired up IsHealthy to config
2019-04-23 18:45:50 -04:00
Fadila
8ddf481b33
Checker: invalid and offline nodes search update ( #1812 )
...
* simplified invalid and offline login into getMissingPieces
2019-04-23 16:54:39 -04:00
Bill Thorp
2029c558af
updated audit configs ( #1814 )
...
updated audit configs
2019-04-23 16:47:11 -04:00
Cameron
9f6b010748
rollup interval fixes ( #1739 )
...
* set all intervals to UTC in rollupStats map, only delete latest day after both rollups
* clean up usage of interval, use intervalEndTime rather than createdAt
* change some variable names, add comments
* add flag for tally deletion
* adds deletetallies flag to testplanet
* space
* Removes println:
* adds test for deletes false
2019-04-23 15:21:30 -04:00
Kaloyan Raev
da0bc5adb5
Selecting non-reputable nodes should not result in excessive selection ( #1680 )
2019-04-23 18:23:51 +03:00
Egon Elbre
f7ed63a119
handle database error checks properly ( #1796 )
2019-04-23 14:13:57 +03:00
Egon Elbre
bdd0d778eb
interface tests belong to the interface, not the implementation ( #1794 )
2019-04-23 11:47:16 +03:00
Jennifer Li Johnson
253cbe5fa0
updates rollup default interval ( #1800 )
2019-04-22 15:18:16 -04:00
Egon Elbre
05732416dc
disable other overlay services that might update online in graveyard test ( #1798 )
2019-04-22 11:22:52 -04:00
Egon Elbre
f49b0acc5b
repair until queue is empty ( #1716 )
...
* repair until queue is empty
2019-04-22 11:16:21 -04:00
Egon Elbre
274fd53ace
Skip verifier tests early ( #1793 )
2019-04-22 15:14:59 +03:00
Bryan White
b6d0157b5b
expose identity version flag on relevant identity cli commands ( #1776 )
2019-04-22 13:58:57 +03:00
Natalie Villasana
8d1f614662
removes unused queue code, moves queue_test.go to repairqueue_test.go in satellitedb dir ( #1783 )
2019-04-22 13:35:52 +03:00
Kaloyan Raev
8fc5fe1d6f
Refactor pb.Node protobuf ( #1785 )
2019-04-22 12:07:50 +03:00
Fadila
123bf291f2
Inspector draw routing table ( #1732 )
2019-04-22 11:34:11 +03:00
Maximillian von Briesen
b29d875326
Enable TestGetShareTimeout ( #1774 )
2019-04-22 08:54:08 +03:00
JT Olio
2744a26b60
pkg/cfgstruct: tie defaults to releases ( #1787 )
...
* tie defaults to releases
this change makes it so that by default, the flag defaults are
chosen based on whether the build was built as a release build or
an ordinary build. release builds by default get release defaults,
whereas ordinary builds by default get dev defaults.
any binary can have its defaults changed by specifying
--defaults=dev
or
--defaults=release
Change-Id: I6d216aa345d211c69ad913159d492fac77b12c64
* make release defaults more clear
this change extends cfgstruct structs to support either
a 'default' tag, or a pair of 'devDefault' and 'releaseDefault'
tags, but not both, for added clarity
Change-Id: Ia098be1fa84b932fdfe90a4a4d027ffb95e249c6
* clarify cfgstruct.DefaultsFlag
Change-Id: I55f2ff9080ebbc0ce83abf956e085242a92f883e
2019-04-19 12:17:30 -06:00
JT Olio
2f9aa7e7be
pkg/process: add --debug.trace-out option to binaries ( #1788 )
...
this adds a flag to all pkg/process binaries where if set,
will write a process-level trace for all monkit-instrumented
functions as an svg to the target path.
usage like:
uplink cp --debug.trace-out=trace.svg file sj://bucket/file
Change-Id: I8f6bbfc488f0f1ac270cb28a61347c6b9698cea7
2019-04-19 11:34:29 -04:00
Philip Hutchins
a840948671
Moving failure for putting pieces to Debug as this is expected behavior ( #1777 )
2019-04-18 08:35:44 -04:00
Egon Elbre
c5b6027d0e
move collect to a more appropriate package ( #1771 )
2019-04-18 12:04:42 +03:00
Bill Thorp
9dc4e82437
removed commented code, removed unnecessary pointer ( #1766 )
...
* removed commented code
2019-04-16 15:55:28 -04:00
Bill Thorp
17a227e6e9
refactor injuredsegments db so that we can't have duplicates ( #1717 )
...
made repairqueue not use a true queue, forbid duplicates
2019-04-16 14:14:09 -04:00
JT Olio
d70f6e3760
libuplink: remove encryption key from project opening ( #1761 )
...
What: This change moves project-level bucket metadata encryption information to the volatile section, because it is unlikely to remain in future releases
Why: Ultimately, the web user interface will allow bucket management (creation, removal, etc), but not object management as that requires an encryption key for sure and we don't want to have users give the satellite their encryption keys.
At a high level, a (*Project) type should map to all of the things you can do inside the web user interface within a project, which by necessity cannot have an encryption key. So, we really don't want an encryption key in the non-volatile section of this library.
2019-04-16 11:29:33 -04:00
Kaloyan Raev
d6850f8691
Migrate Minio Gateway to libuplink ( #1652 )
2019-04-15 23:13:02 +03:00
Michal Niewrzal
991cbad66a
Fix download when missing piece ( #1753 )
2019-04-12 16:57:24 -04:00
Egon Elbre
0eee46524d
update linter to v1.16 ( #1741 )
...
* update to v1.16
* use full version number
* fix linter issues
* fix comment
* nicer comment
* restart travis
* restart travis
2019-04-11 13:32:40 -04:00
paul cannon
0ae0de75bc
use SerializableMeta to store bucket attributes ( #1658 )
2019-04-10 18:27:04 -04:00
Natalie Villasana
311fd2227a
optimizes deleting obsolete paths ( #1734 )
2019-04-10 11:26:12 -04:00
Bryan White
1257ce2588
remove fmt print statements ( #1733 )
2019-04-10 11:10:22 -04:00