You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: storage-node/CHANGELOG.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,30 @@
1
+
### 4.5.0
2
+
3
+
#### Features
4
+
5
+
- New commands to help storage bags / buckets management:
6
+
7
+
-`leader:set-replication` - allows adjusting bag-to-bucket assignments in order to achieve a target replication rate.
8
+
-`leader:copy-bags` - allows copying all bags from one bucket / set of buckets to a different bucket / set of buckets.
9
+
-`leader:empty-bucket` - allows removing all bags from a given bucket.
10
+
11
+
All of those commands support generating detailed summaries of planned / executed changes in the storage system thanks to the new `BagsUpdateCreator` and `BagsUpdateSummaryCreator` services.
12
+
13
+
- Adds a possibility to set `CLEANUP` and `CLEANUP_INTERVAL` via env in the `server` command.
14
+
15
+
#### Small / internal changes
16
+
17
+
- Fixes Colossus docker build by removing a deprecated [`@types/winston`](https://www.npmjs.com/package/@types/winston) package.
18
+
- Adds a few new utility functions (`stringifyBagId`, `cmpBagId`, `isEvent`, `asStorageSize`, `getBatchResults`).
19
+
- Updates `updateStorageBucketsForBags` to rely on the new `getBatchResults` utility function.
20
+
1
21
### 4.4.0
2
22
3
23
-**Optimizations:** The way data objects / data object ids are queried and processed during sync and cleanup has been optimized:
4
-
- Sync and cleanup services now process tasks in batches of configurable size (`--syncBatchSize`, `--cleanupBatchSize`) to avoid overflowing the memory.
5
-
- Synchronous operations like `sort` or `filter` on larger arrays of data objects have been optimized (for example, by replacing `.filter(Array.includes(...))` with `.filter(Set.has(...))`).
6
-
- Enforced a limit of max. results per single GraphQL query to `10,000` and max input arguments per query to `1,000`.
7
-
- Added `--cleanupWorkersNumber` flag to limit the number of concurrent async requests during cleanup.
24
+
- Sync and cleanup services now process tasks in batches of configurable size (`--syncBatchSize`, `--cleanupBatchSize`) to avoid overflowing the memory.
25
+
- Synchronous operations like `sort` or `filter` on larger arrays of data objects have been optimized (for example, by replacing `.filter(Array.includes(...))` with `.filter(Set.has(...))`).
26
+
- Enforced a limit of max. results per single GraphQL query to `10,000` and max input arguments per query to `1,000`.
27
+
- Added `--cleanupWorkersNumber` flag to limit the number of concurrent async requests during cleanup.
8
28
- A safety mechanism was added to avoid removing "deleted" objects for which a related `DataObjectDeleted` event cannot be found in storage squid.
0 commit comments