25f8f678ab
For the storagenode usage graph currently, 1. the graph is still likely to contain spikes on the first day of the month for a newly setup storagenode because there's no previous interval_end_time to deduct from. 2. if a node goes offline for too long, say the last usage report in the storageusage cache has an interval_end_time of 2020-07-30 00:00:00+00:00 and later, it comes back online a few days later, it requests for the storage usage from the satellite starting from the current month, say 2021-01-01 00:00:00+00:00, the calculated hours for the first day would be 48 hours and it could be wrong because the cache is missing one day usage report. This PR addresses second issue on the storagenode side by requesting storage usage data, instead of just a month boundary, request for an interval starting from the last day of the previous month to the current day of the current month. The first one will be a tradeoff and wouldn't really matter since it will just be an issue on the first day the storagenode joined the satellite. Updates https://github.com/storj/storj/issues/4178 Change-Id: I041c56c412030ce013dd77dce11b0b5d6550927b |
||
---|---|---|
.github | ||
certificate | ||
cmd | ||
crashcollect | ||
docs | ||
installer/windows | ||
multinode | ||
private | ||
resources | ||
satellite | ||
scripts | ||
storage | ||
storagenode | ||
testsuite | ||
versioncontrol | ||
web | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
CODE_OF_CONDUCT.md | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
DEVELOPING.md | ||
docker-compose.tests.yaml | ||
go.mod | ||
go.sum | ||
Jenkinsfile | ||
Jenkinsfile.premerge | ||
Jenkinsfile.public | ||
Jenkinsfile.verify | ||
LICENSE | ||
MAINTAINERS.md | ||
Makefile | ||
monkit.lock | ||
proto.lock | ||
README.md |
Storj V3 Network
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/.