Go to file
Andrew Harding 4fdea51d5c storagenode/storagenodedb: faster test db init
Running all of the migrations necessary to initialize a storage node
database takes a significant amount of time during runs.

The package current supports initializing a database from manually coalesced
migration data (i.e. snapshot) which improves the situation somewhat.

This change takes things a bit further by changing the snapshot code to
instead hydrate the database directory from a pre-generated snapshot zip
file.

name                                old time/op  new time/op  delta
Run_StorageNodeCount_4/Postgres-16   2.50s ± 0%   0.16s ± 0%   ~     (p=1.000 n=1+1)

Change-Id: I213bbba5f9199497fbe8ce889b627e853f8b29a0
2022-12-01 20:45:36 +00:00
.github .github: remove invalid codeowners 2022-11-10 15:52:48 +02:00
certificate certificate/authorization: add golden test for Group marshaling 2022-10-18 14:19:03 -04:00
cmd cmd/uplink: add options to save pprof/trace information 2022-11-30 11:53:29 +00:00
crashcollect crashcollect: removed redundant structure 2021-04-28 00:35:39 +03:00
docs docs/blueprints: add automatic account freezing/unfreezing blueprint 2022-11-03 16:56:28 +00:00
installer/windows storj/storj: more domain changes 2021-04-15 20:51:43 +00:00
multinode cmd/multinode: generate identity when not provided 2022-10-12 12:01:14 +00:00
private storagenode/storagenodedb: faster test db init 2022-12-01 20:45:36 +00:00
resources cmd: add ca-certificates to Docker images (#3986) 2020-12-08 01:38:33 +01:00
satellite satellite/nodeevents: take last_attempted into account when selecting 2022-12-01 20:08:38 +00:00
scripts satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
storage all: replace deprecated ioutil 2022-10-31 15:50:41 +00:00
storagenode storagenode/storagenodedb: faster test db init 2022-12-01 20:45:36 +00:00
testsuite mod: bump dependencies 2022-11-29 13:47:34 +00:00
versioncontrol all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
web web/satellite: create project passphrase modal 2022-11-30 10:39:18 +00:00
.dockerignore Forward-port release-alpha8 build script issues (#1726) 2019-04-09 23:01:10 -06:00
.earthlyignore build: provides earthfile for nightly build 2022-10-27 09:25:17 +00:00
.gitattributes web/: add check for change to eslint import 2021-12-21 15:59:23 +00:00
.gitignore build: provides earthfile for nightly build 2022-10-27 09:25:17 +00:00
.gitreview add config file for git review usage 2021-10-14 18:01:30 +00:00
CODE_OF_CONDUCT.md Adding CODE_OF_CONDUCT to storj/storj repo (#779) 2018-12-07 15:10:02 -05:00
CODEOWNERS satellite/metabase: add codeowners 2022-05-18 16:13:06 +02:00
CONTRIBUTING.md go.mod: update to minimum supported go version (#4239) 2021-10-22 21:12:13 +02:00
DEVELOPING.md Makefile: run lint locally in docker 2022-05-25 12:30:15 -05:00
docker-compose.tests.yaml Makefile: make test run more safe 2022-05-31 10:58:26 +00:00
Earthfile build: use specific tag for nightly deployments 2022-11-02 17:57:20 +00:00
go.mod mod: bump dependencies 2022-11-29 13:47:34 +00:00
go.sum mod: bump dependencies 2022-11-29 13:47:34 +00:00
Jenkinsfile ci: fixes for new Go version 2022-11-02 15:17:46 +02:00
Jenkinsfile.premerge ci: use check-cross-compile tool 2022-11-22 09:38:46 +00:00
Jenkinsfile.public ci: use check-cross-compile tool 2022-11-22 09:38:46 +00:00
Jenkinsfile.verify ci: add check-downgrades checks 2022-09-23 11:15:27 +00:00
LICENSE license code with agplv3 (#126) 2018-07-05 10:24:26 -04:00
MAINTAINERS.md Maintainers: remove link 2022-03-14 14:16:31 +02:00
Makefile ci: fixes for new Go version 2022-11-02 15:17:46 +02:00
monkit.lock satellite/metabase/rangedloop: service skeleton 2022-11-22 15:21:41 +02:00
proto.lock multinode/payouts: paystub extended with disposed 2021-06-01 16:28:20 +00:00
README.md Update README.md (#4320) 2021-12-22 14:12:58 +01:00

Storj V3 Network

Go Report Card Go Doc Coverage Status

Storj is building a decentralized cloud storage network. Check out our white paper for more info!


Storj is an S3-compatible platform and suite of decentralized applications that allows you to store data in a secure and decentralized manner. Your files are encrypted, broken into little pieces and stored in a global decentralized network of computers. Luckily, we also support allowing you (and only you) to retrieve those files!

Table of Contents

Contributing to Storj

All of our code for Storj v3 is open source. If anything feels off, or if you feel that some functionality is missing, please check out the contributing page. There you will find instructions for sharing your feedback, building the tool locally, and submitting pull requests to the project.

A Note about Versioning

While we are practicing semantic versioning for our client libraries such as uplink, we are not practicing semantic versioning in this repo, as we do not intend for it to be used via Go modules. We may have backwards-incompatible changes between minor and patch releases in this repo.

Start using Storj

Our wiki has documentation and tutorials. Check out these three tutorials:

License

This repository is currently licensed with the AGPLv3 license.

For code released under the AGPLv3, we request that contributors sign our Contributor License Agreement (CLA) so that we can relicense the code under Apache v2, or other licenses in the future.

Support

If you have any questions or suggestions please reach out to us on our community forum or file a ticket at https://support.storj.io/.