Go to file
dlamarmorgan 2c0a360a14 satellite/satellitedb: migrate partner_id db column to user_agent db column
Value attribution codes were converted into UUIDs and stored in the users, projects, api_keys, bucket_metainfos, and value_attributions tables in the partner_id column. This migration will lookup the appropriate partner name associated with each of these UUIDs, and store the partner name directly in the user_agent column within each table. If an error occurs during the partner ID to partner name conversion, the partner ID value will be migrated to user_agent.

A note on the migration test data, postgres.v182.sql:
With one exception, all preexisting rows in the relevant tables had a NULL partner_ID. Therefore, we needed to insert new rows with partner_ID set under the OLD DATA section in order to test that the migration works. For each affected table, we insert one row with a valid partner ID which has a corresponding partner name, and one row with a partner ID which would return an error during the conversion to the partner name.

Change-Id: Iad977d72df0ce95a0c5ca80a065c4276ec1f2354
2021-11-24 22:43:22 +00:00
.github .github: add issue templates 2021-09-24 08:42:48 +00:00
certificate all: fix mon.Task leak 2021-08-05 14:07:45 +03:00
cmd cmd/uplinkng/ultest: make possible to test access commands 2021-11-22 10:43:02 +00:00
crashcollect crashcollect: removed redundant structure 2021-04-28 00:35:39 +03:00
docs Geofencing and advanced placement-constraint support (#4227) 2021-11-15 15:23:41 +02:00
installer/windows storj/storj: more domain changes 2021-04-15 20:51:43 +00:00
multinode private/testplanet: extend testplanet with multinode instance 2021-10-13 10:19:45 +00:00
private Fix monthly earning estimation (#4282) 2021-11-17 18:26:21 -05:00
resources cmd: add ca-certificates to Docker images (#3986) 2020-12-08 01:38:33 +01:00
satellite satellite/satellitedb: migrate partner_id db column to user_agent db column 2021-11-24 22:43:22 +00:00
scripts cmd/uplinkng: add mv command 2021-11-22 09:07:24 +00:00
storage ci: optimize benchmarks 2021-10-08 19:42:40 +03:00
storagenode storagenode/piecestore: upload and download metrics for Grafana alerts (#4280) 2021-11-18 12:50:39 +00:00
testsuite testsuite/ui/uitest: fixes for uitest 2021-11-23 15:22:53 +00:00
versioncontrol ci: fix lint errors 2021-05-17 13:37:31 +00:00
web web/satellite: fix browser progress-bar visibility 2021-11-22 14:56:34 +02:00
.dockerignore Forward-port release-alpha8 build script issues (#1726) 2019-04-09 23:01:10 -06:00
.gitignore private/testplanet: support writing monitoring spans 2021-09-30 09:03:35 +03: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
CONTRIBUTING.md go.mod: update to minimum supported go version (#4239) 2021-10-22 21:12:13 +02:00
go.mod mod: bump common to fetch latest placement type changes 2021-11-16 12:42:25 +00:00
go.sum mod: bump common to fetch latest placement type changes 2021-11-16 12:42:25 +00:00
Jenkinsfile ci: use correct Go version for the image 2021-09-30 14:36:21 +03:00
Jenkinsfile.public testsuite/ui: fixes to setup 2021-11-15 15:56:35 +02:00
LICENSE license code with agplv3 (#126) 2018-07-05 10:24:26 -04:00
MAINTAINERS.md Create MAINTAINERS.md 2021-07-07 13:27:07 +02:00
Makefile Makefile: Fix target builds the satellite admin UI 2021-11-12 13:29:55 +01:00
monkit.lock satellite/audit: log error and increment metric if shares cannot be verified 2021-08-27 15:28:16 +00:00
proto.lock multinode/payouts: paystub extended with disposed 2021-06-01 16:28:20 +00:00
README.md docs: move contribution guide to repository root 2021-09-28 07:38:11 +00:00

Storj V3 Network

Go Report Card Go Doc Coverage Status Alpha

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

The network under construction (this repo) is currently licensed with the AGPLv3 license. Once the network reaches beta phase, we will be licensing all client-side code via the Apache v2 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/.