Skip to content

Conversation

@Lezek123
Copy link
Contributor

@Lezek123 Lezek123 commented Mar 5, 2025

Based on #5200

4.5.0

Features

  • New commands to help storage bags / buckets management:

    • leader:set-replication - allows adjusting bag-to-bucket assignments in order to achieve a target replication rate.

    • leader:copy-bags - allows copying all bags from one bucket / set of buckets to a different bucket / set of buckets.

    • leader:empty-bucket - allows removing all bags from a given bucket.

      All of those commands support generating detailed summaries of planned / executed changes in the storage system thanks to the new BagsUpdateCreator and BagsUpdateSummaryCreator services.

  • Adds a possibility to set CLEANUP and CLEANUP_INTERVAL via env in the server command.

Small / internal changes

  • Fixes Colossus docker build by removing a deprecated @types/winston package.
  • Adds a few new utility functions (stringifyBagId, cmpBagId, isEvent, asStorageSize, getBatchResults).
  • Updates updateStorageBucketsForBags to rely on the new getBatchResults utility function.

@Lezek123 Lezek123 requested a review from mnaamani May 23, 2025 07:51
@bedeho bedeho merged commit 3862e7e into Joystream:master Nov 22, 2025
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants