Skip to content

Commit

Permalink
pkg/{recipe,files/templates}: decrease minimum storage node disk space
Browse files Browse the repository at this point in the history
This change decreases the amount of disk space that a storage node must
have allocated in order to be selected by the satellite.

Previously, we didn't configure this value in our recipe and template,
so the satellite would use the default value of 500MB. However, commit
storj/storj@a224d4a increased the default from 500MB to 5GB, preventing
storj-up storage nodes (all of which are configured with 1GB) from
being selected, causing uploads to fail.

Change-Id: Ie9c999324b6eba43305b1e3105d71f65072e5c8f
  • Loading branch information
jewharton committed May 16, 2024
1 parent 4fbac05 commit 8ed390c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/files/templates/docker-compose.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ services:
STORJ_METAINFO_RATE_LIMITER_ENABLED: "false"
STORJ_METRICS_APP_SUFFIX: sim
STORJ_ORDERS_ENCRYPTION_KEYS: 0100000000000000=0100000000000000000000000000000000000000000000000000000000000000
STORJ_OVERLAY_NODE_MINIMUM_DISK_SPACE: 500MB
STORJ_PAYMENTS_BILLING_CONFIG_DISABLE_LOOP: "false"
STORJ_PAYMENTS_STORJSCAN_AUTH_IDENTIFIER: us1
STORJ_PAYMENTS_STORJSCAN_AUTH_SECRET: us1secret
Expand Down
1 change: 1 addition & 0 deletions pkg/recipe/minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ add:
STORJ_METAINFO_RATE_LIMITER_ENABLED: "false"
STORJ_METRICS_APP_SUFFIX: sim
STORJ_ORDERS_ENCRYPTION_KEYS: '0100000000000000=0100000000000000000000000000000000000000000000000000000000000000'
STORJ_OVERLAY_NODE_MINIMUM_DISK_SPACE: 500MB
STORJ_SERVER_ADDRESS: '{{ Host .This "listen" }}:{{ Port .This "public"}}'
STORJ_SERVER_EXTENSIONS_REVOCATION: "false"
STORJ_SERVER_REVOCATION_DBURL: '{{ Environment "redis" "url" }}?db=1'
Expand Down

0 comments on commit 8ed390c

Please sign in to comment.