aligeti
9f6e5d6731
Keep track of 'irreparable' segments in a database ( #686 )
...
* initial irreparable development
* added the Open, Insert, Update, Get, Delete, Close support
* added the Unit test cases
* code review changes
2018-12-04 11:26:30 -05:00
Bryan White
2a0c4e60d2
preparing for use of customtype
gogo extension with NodeID
type ( #693 )
...
* preparing for use of `customtype` gogo extension with `NodeID` type
* review changes
* preparing for use of `customtype` gogo extension with `NodeID` type
* review changes
* wip
* tests passing
* wip fixing tests
* more wip test fixing
* remove NodeIDList from proto files
* linter fixes
* linter fixes
* linter/review fixes
* more freaking linter fixes
* omg just kill me - linterrrrrrrr
* travis linter, i will muder you and your family in your sleep
* goimports everything - burn in hell travis
* goimports update
* go mod tidy
2018-11-29 19:39:27 +01:00
Maximillian von Briesen
b884ee4626
Update protos to fit style guide (easy review) ( #702 )
...
* fix overlay.proto and piecestore.proto to meet style guide
* update code to be consistent with regenerated protos
2018-11-23 21:46:53 -05:00
Egon Elbre
6066ae7567
Check schemas while creating tables ( #609 )
2018-11-10 00:15:35 +02:00
Jennifer Li Johnson
e678e52229
Creates Accounting Pkg to tally at rest node storage ( #568 )
...
* creates accounting package with tally service
* adds cancel on context
* test online nodes
2018-11-08 11:18:28 -05:00
Dylan Lott
fc2fe0c294
pkg/utils CollectErrors
tests ( #496 )
...
* Sets up test harness for CollectErrors
* pkg/utils tests passing
* updates to utils tests
2018-10-18 10:55:00 -06:00
Dylan Lott
6b88f0a36b
Moves CollectErrors into pkg/utils ( #493 )
...
Merging but creating a PR for tests shortly
2018-10-17 14:23:44 -06:00
Egon Elbre
4486e265bb
Cleanup after tests ( #341 )
2018-09-11 16:57:12 +03:00
Jennifer Li Johnson
d0f87f0de1
Overlay Bulk Lookup ( #279 )
...
* implements bulk node lookup from overlay cache
2018-09-11 00:52:14 -04:00
JT Olio
fd94300c53
move stacktraces to debug level, disable debug by default ( #329 )
...
* move stacktraces to debug level, disable debug by default
* configure zap better
* var to const
2018-09-09 05:27:09 -06:00
Egon Elbre
83df0ee1b0
Implement ListV2 with storage rework ( #303 )
...
1. Added KeyValueStore.Iterate for implementing the different List, ListV2 etc. implementations. This allows for more efficient use of memory depending on the situation.
2. Implemented an inmemory teststore for running tests. This should allow to replace MockKeyValueStore in most places.
3. Rewrote tests
4. Pulled out logger from bolt implementation so it can be used for all other storage implementations.
5. Fixed multiple things in bolt and redis implementations.
2018-09-05 19:10:35 +03:00
Egon Elbre
0f5a2f4ef5
Enable more linters ( #272 )
...
* enable more linters
* Run gofmt -s
* run goimports
* run unconvert
* fix naked return
* fix misspellings
* fix ineffectual assigments
* fix missing declaration
* don't use deprecated grpc.Errof
* check errors in tests
* run gofmt -w -r "assert.Nil(err) -> assert.NoError(err)"
* fix directory permissions
* don't use nil Context
* simplify boolean expressions
* use bytes.Equal instead of bytes.Compare
* merge variable declarations, remove redundant returns
* fix some golint errors
* run goimports
* handle more errors
* delete empty TestMain
* delete empty TestMain
* ignore examples for now
* fix lint errors
* remove unused values
* more fixes
* run gofmt -w -s .
* add more comments
* fix naming
* more lint fixes
* try switching travis to go1.11
* fix unnecessary conversions
* fix deprecated methods
* use go1.10 and disable gofmt/goimports for now
* switch to 1.10
* don't re-enable gofmt and goimports
* switch covermode to atomic because of -race
* gofmt
2018-08-27 11:28:16 -06:00
Egon Elbre
f80185a807
Preliminary support for windows ( #266 )
...
* Don't use url.Parse for bolt paths: filepaths may not be valid URL-s.
* go.mod: update dependencies
* README.md: add Windows instructions
* pkg/overlay: check for the correct path and text in error
* pkg/overlay: fix tests for windows
* pkg/piecestore: make windows tests pass
* pkg/telemetry: skip test, as it doesn't shutdown nicely
* storage/redis: ensure that redis is clean before running tests
2018-08-23 10:05:56 +03:00
Bryan White
5d20cf8829
Node Identity ( #193 )
...
* peertls: don't log errors for double close
understood that this part of the code is undergoing heavy change
right now, but just want to make sure this fix gets incorporated
somewhere
* git cleanup: node-id stuff
* cleanup
* rename identity_util.go
* wip `CertificateAuthority` refactor
* refactoring
* gitignore update
* wip
* Merge remote-tracking branch 'storj/doubleclose' into node-id3
* storj/doubleclose:
peertls: don't log errors for double close
* add peertls tests & gomports
* wip:
+ refactor
+ style changes
+ cleanup
+ [wip] add version to CA and identity configs
+ [wip] heavy client setup
* refactor
* wip:
+ refactor
+ style changes
+ add `CAConfig.Load`
+ add `CAConfig.Save`
* wip:
+ add `LoadOrCreate` and `Create` to CA and Identity configs
+ add overwrite to CA and identity configs
+ heavy client setup
+ refactor
+ style changes
+ cleanup
* wip
* fixing things
* fixing things
* wip hc setup
* hc setup:
+ refactor
+ bugfixing
* improvements based on reveiw feedback
* goimports
* improvements:
+ responding to review feedback
+ refactor
* feedback-based improvements
* feedback-based improvements
* feedback-based improvements
* feedback-based improvements
* feedback-based improvements
* feedback-based improvements
* cleanup
* refactoring CA and Identity structs
* Merge branch 'master' into node-id3
* move version field to setup config structs for CA and identity
* fix typo
* responding to revieiw feedback
* responding to revieiw feedback
* responding to revieiw feedback
* responding to revieiw feedback
* responding to revieiw feedback
* responding to revieiw feedback
* Merge branch 'master' into node-id3
* fix gateway setup finally
* go imports
* fix `FullCertificateAuthority.GenerateIdentity`
* cleanup overlay tests
* bugfixing
* update ca/identity setup
* go imports
* fix peertls test copy/paste fail
* responding to review feedback
* setup tweaking
* update farmer setup
2018-08-13 10:39:45 +02:00
Dennis Coyle
5de5428d3a
First pass at node restrictions ( #146 )
...
* WIP First pass at node restrictions
* adjustments to storage clients
* fix cover
* undo previous import change
* adding copyright
* fix the tests
* check for keys
* moar fixes to tests
* linter
* change how we handle restrictions
* add generated pb.go file
* PR comments addressed
* MockKeyValueStore
* pr comments addressed
* missing )
* past my bedtime
* moar merge issues
* cleanup
2018-08-01 10:15:38 -04:00
Yehor Butko
7ea075ce9e
Unit Tests for logging.go added ( #148 )
...
* Unit Tests for logging.go added.
* Unit Tests for logging.go added part 2
* Unit tests added for Utils package
2018-07-19 15:41:29 -04:00
JT Olio
6be2baf9f9
pkg/piecestore: use readersource ( #75 )
...
* pkg/piecestore: use readersource
* pkg/piecestore: fix linting
2018-06-05 08:00:48 -06:00
Dennis Coyle
d6ddb65bf8
basic structure ( #39 )
...
* wip - basic structure
* cleanup
* zap logger
* handling errors | using urfav/cli
* remove deadcode
* move NewLogger to utils
* single process method
* copyright
* more generic Process
* simplified
* added NewServer Back
2018-05-16 12:47:59 -06:00