mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-22 19:19:09 +00:00
Merge pull request #3753 from nspcc-dev/rel-0.107.2
CHANGELOG: release v0.107.2
This commit is contained in:
commit
9189b3eb7d
2 changed files with 47 additions and 9 deletions
37
CHANGELOG.md
37
CHANGELOG.md
|
@ -2,6 +2,43 @@
|
||||||
|
|
||||||
This document outlines major changes between releases.
|
This document outlines major changes between releases.
|
||||||
|
|
||||||
|
## 0.107.2 "Obliteration" (13 Dec 2024)
|
||||||
|
|
||||||
|
One more compatible patch-release that introduces `RemoveUntraceableHeaders`
|
||||||
|
application-level extension allowing to remove untraceable block headers from the DB.
|
||||||
|
This feature significantly reduces the database size, but for now it is supported in
|
||||||
|
an experimental mode, use it with care. Other than that, this release includes a fix
|
||||||
|
of BlockFetcher service that may hang on retry of NeoFS requests preventing the node
|
||||||
|
from syncing. Also, an improved algorithm of blocks uploading and extended list of
|
||||||
|
block and index file attributes are supported for `upload-bin` CLI command.
|
||||||
|
|
||||||
|
No configuration update or DB resync is required. However, starting from this release
|
||||||
|
`NeoFSBlockFetcher` application configuration section is backed by default values for
|
||||||
|
every parameter except `Addresses` and `ContainerID`, hence if you don't like too
|
||||||
|
chatty configuration files, feel free to remove all optional parameters.
|
||||||
|
|
||||||
|
New features:
|
||||||
|
* untraceable headers removal (#3750)
|
||||||
|
|
||||||
|
Behavior changes:
|
||||||
|
* add `BlockTime` attribute to block objects stored in NeoFS block storage (#3749)
|
||||||
|
* use `Timestamp` attribute to hold object creation time for block and index objects
|
||||||
|
stored in NeoFS block storage (#3749)
|
||||||
|
* extended debug logs for `upload-bin` CLI command (#3751)
|
||||||
|
|
||||||
|
Improvements:
|
||||||
|
* embed default UnitTestNet node configuration (#3696)
|
||||||
|
* NeoFS SDK dependency upgrade (#3725, #3756)
|
||||||
|
* dependent packages updates (#3746, #3747, #3748)
|
||||||
|
* refactor and speed up `upload-bin` CLI command (#3735)
|
||||||
|
* backup NeoFS BlockFetcher configuration with default values (#3742)
|
||||||
|
* reuse more of built-in NeoFS SDK functionality in `upload-bin` CLI handler (#3749)
|
||||||
|
|
||||||
|
Bugs fixed:
|
||||||
|
* NeoFS BlockFetcher sometimes is hanging during the node startup (#3736)
|
||||||
|
* RPC server timers are improperly drained (#3737)
|
||||||
|
* basic unit test chain restore configuration (#3696)
|
||||||
|
|
||||||
## 0.107.1 "Narrativization" (06 Dec 2024)
|
## 0.107.1 "Narrativization" (06 Dec 2024)
|
||||||
|
|
||||||
An urgent version that fixes the problem of intensive CPU usage caused by improper
|
An urgent version that fixes the problem of intensive CPU usage caused by improper
|
||||||
|
|
|
@ -185,27 +185,28 @@ where:
|
||||||
- `UnlockWallet` contains wallet settings to retrieve account to sign requests to
|
- `UnlockWallet` contains wallet settings to retrieve account to sign requests to
|
||||||
NeoFS. Without this setting, the module will use randomly generated private key.
|
NeoFS. Without this setting, the module will use randomly generated private key.
|
||||||
For configuration details see [Unlock Wallet Configuration](#Unlock-Wallet-Configuration)
|
For configuration details see [Unlock Wallet Configuration](#Unlock-Wallet-Configuration)
|
||||||
- `Addresses` is a list of NeoFS storage nodes addresses.
|
- `Addresses` is a list of NeoFS storage nodes addresses. This parameter is required.
|
||||||
- `Timeout` is a timeout for a single request to NeoFS storage node.
|
- `Timeout` is a timeout for a single request to NeoFS storage node (10 minutes by
|
||||||
- `ContainerID` is a container ID to fetch blocks from.
|
default).
|
||||||
|
- `ContainerID` is a container ID to fetch blocks from. This parameter is required.
|
||||||
- `BlockAttribute` is an attribute name of NeoFS object that contains block
|
- `BlockAttribute` is an attribute name of NeoFS object that contains block
|
||||||
data.
|
data. It's set to `Block` by default.
|
||||||
- `IndexFileAttribute` is an attribute name of NeoFS index object that contains block
|
- `IndexFileAttribute` is an attribute name of NeoFS index object that contains block
|
||||||
object IDs.
|
object IDs. It's set to `Index` by default.
|
||||||
- `DownloaderWorkersCount` is a number of workers that download blocks from
|
- `DownloaderWorkersCount` is a number of workers that download blocks from
|
||||||
NeoFS in parallel.
|
NeoFS in parallel (500 by default).
|
||||||
- `OIDBatchSize` is the number of blocks to search per a single request to NeoFS
|
- `OIDBatchSize` is the number of blocks to search per a single request to NeoFS
|
||||||
in case of disabled index files search. Also, for both modes of BlockFetcher
|
in case of disabled index files search. Also, for both modes of BlockFetcher
|
||||||
operation this setting manages the buffer size of OIDs and blocks transferring
|
operation this setting manages the buffer size of OIDs and blocks transferring
|
||||||
channels.
|
channels. By default, it's set to a half of `BQueueSize` parameter.
|
||||||
- `BQueueSize` is a size of the block queue used to manage consecutive blocks
|
- `BQueueSize` is a size of the block queue used to manage consecutive blocks
|
||||||
addition to the chain. It must be larger than `OIDBatchSize` and highly recommended
|
addition to the chain. It must be larger than `OIDBatchSize` and highly recommended
|
||||||
to be `2*OIDBatchSize` or `3*OIDBatchSize`.
|
to be `2*OIDBatchSize` or `3*OIDBatchSize`. By default, it's set to 16000.
|
||||||
- `SkipIndexFilesSearch` is a flag that allows to skip index files search and search
|
- `SkipIndexFilesSearch` is a flag that allows to skip index files search and search
|
||||||
for blocks directly. It is set to `false` by default.
|
for blocks directly. It is set to `false` by default.
|
||||||
- `IndexFileSize` is the number of OID objects stored in the index files. This
|
- `IndexFileSize` is the number of OID objects stored in the index files. This
|
||||||
setting depends on the NeoFS block storage configuration and is applicable only if
|
setting depends on the NeoFS block storage configuration and is applicable only if
|
||||||
`SkipIndexFilesSearch` is set to `false`.
|
`SkipIndexFilesSearch` is set to `false`. It's set to 128000 by default.
|
||||||
|
|
||||||
### Metrics Services Configuration
|
### Metrics Services Configuration
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue