Repository navigation
Releases
v0.58.2
Fixed
- Policer could drop the only verified local replica of an object when one primary was under maintenance and another's HEAD request failed transiently (#4291)
- A container node could crash the SearchV2 aggregating node by replying with zero attributes to an attribute-less, non-equality-filtered query (#4292)
- Config parsing panicked instead of returning a clean error when a struct-slice field (e.g.
grpc, shards) was given the wrong YAML shape, including via SIGHUP reload on a running node (#4282) - Object expiration time was not exposed to eACL filters (#4303)
- Possible infinite EC parts restoration loop in the policer (#4293)
- Policer allocated a buffer sized from an EC parent payload size declared by another container member, with no upper bound (#4287)
- Split and EC read paths emitted a parent object header collected from another node without checking that it hashes to the requested object ID (#4290)
- SIGHUP config reload matched running gRPC servers to endpoints by slice position, permanently misattributing them after an earlier endpoint failed to bind (#4286)
- NetmapService was missing from gRPC servers created by SIGHUP config reload (#4286)
- Attempts to replicate expired split parts left by incomplete uploads (#4276)
- Delayed GC of expired split-object parents to reduce resurrection risk from lagging replication (#4252)
- Missing parent presence check for LINK objects (#4306)
- Missing last parent vs link parent ID check in format verifier (#4306)
- Missing check for children sizes summing up to parent length in LINK object verifier (#4306)
- Panic in Get service when processing incorrect LINKs (#4306)
- Single-child LINKs accepted as valid (but they never are) (#4306)
- First ID not checked against the real first object when validating LINKs (#4306)
- Incorrect first ID check for middle and last objects specified in LINK (#4306)
v0.58.1
Fixed
- ACL author identity could be spoofed via unverified
BodySignatureon API >=2.26 requests (#4270) - N3 witness verification did not bind the verification script to the claimed account, allowing any halting script to authenticate as an arbitrary issuer/owner (#4271)
- SNs do not support N3 signatures for container service requests (#4258)
- Incorrect split object's raw ranged GET response stream by SN (#4266)
- SN container cache not dropped after successful
SetAttribute/RemoveAttribute(#4264) - SNs do not support objects signed with N3 scheme via session v2 feature (#4259)
- SN panics if container put RPC was received without optional eACL table signature (#4275)
- Object service session tokens were not bound to the request signer (#4277)
- IR might sign unknown contract call in container put routine (#4279)
v0.58.0 - Gopado
Added
- Request time expiration check by SNs (#4219)
- Time-based object expiration (#4224)
- Support for GET/HEAD EC part ID field by SN (#4222)
- CLI
ec-partflag toobject get/headcommands (#4222) - Cross-rules EC parts restoration (#3848)
Fixed
AccountingService.Balanceserver panic (#4212)- Panic on startup while restoring write-cache counters (#4214)
- Panic in neofs-lancet on storage operations that require metabase migration (#4215)
- Setting eACL without API version in CLI (#4229)
- Unnecessary local shard relocation of EC parts by policer (#4236)
- GC stalling on expired objects protected by LOCKs stored only on other shards (#4237)
- Unchecked known payload length of unfinished objects in PUT (#4233)
- IR validates original container API requests via contract calls (#4245)
- Container ID was not returned after container creation timeout (#4254)
- Container operation signature check with session token V2 (#4251)
Changed
- SN now requires requests to have API version >= 2.22 (#4212)
- CLI
request create-containercommand now attaches current API version to requests (#4213) - ReplicateV2 Linux server now uses
writev()syscall for multi-frame chunks (#4194) - IR now denies creation of containers and setting of eACL with API version less than v2.22 (#4229)
- SN now prohibits EC GET requests without part index and with
payload_onlyflag set (#4222) - SN no longer forwards request X-headers to other SN (#4222)
- CLI
--xhdr(-x) flag is deprecated now (#4222) - Policer now uses an in-memory queue for redundant object removal, reducing metabase writes (#4216)
- Session token storage now indexes tokens by expiration epoch for efficient cleanup (#4243)
- Session key encryption now uses HPKE (#4247)
- SN object GET/HEAD server now traverses nodes strictly by weight, and falls back to local storage (#4232)
Removed
- fstree-decompress utility (#4223)
- Compressed object format support from FSTree (#4223)
- Deprecated homomorphic hashing setting from CLI netinfo output (#4225)
- Support for multiaddr addresses in CLI and node (#4238)
- Support for
createmethod of Container contract in IR (#4242) - Support for
CreatedandRemovedevents of Container contract in SN (#4242)
Updated
github.com/nspcc-dev/neofs-sdk-gomodule tov1.0.0-rc.24(#4194, #4219, #4228, #4224, #4222, #4240, #4245, #4253)github.com/nspcc-dev/neofs-contractmodule tov0.28.0(#4239, #4246, #4250)
Updating from v0.57.0
This version no longer supports compressed objects in FSTree, please use fstree-decompress utility from the previous release if needed.
Remove --xhdr (-x) flags from all CLI commands. To GET/HEAD object's EC part, use --ec-part RULE[/PART] flag instead.
Use plain URIs instead of multiaddress in node config and CLI invocations.
Session records in node.persistent_state.path are migrated automatically on startup to an epoch-indexed format with HPKE encryption and become unreadable by previous versions. Before upgrading, stop the node and back up this file. Do not open the migrated database with an older node binary; restore the pre-upgrade backup before rolling back.
v0.57.0 - Bido
Added
- Online FSTree layout reshaping via the
blobstor.allow_depth_changeconfiguration option (#4149, #4179) - SN now serves
ReplicateV2API (#4168, #4164, #4201, #4164) - Container SN now uses
ReplicateV2API for objects >256K in PUT handler when available (#4168, #4196, #4203) neofs-adm fschain netmapcommand to fetch current and historical network maps (#4181)- Container revisions support (#4183, #4195, #4197)
Fixed
- Broken EC object GET with all data parts missing (#4173)
- Buffer race of EC part range request buffers in GET server (#4176)
Changed
- SN requests network map only when it has been changed (#4121)
- SN pushes URI-style endpoints to netmap instead of multiaddr (#3982)
- Write-cache FSTree depth increased from 1 to 2 with online migration (#4175)
- Policer balances data across local shards (#4170)
neofs-adm fschain set-confignow suggests well-known keys in shell completion (#1901)- Write cache now flushes object dynamically based on taken space (#3415)
Removed
- GetRange object service method (#4167)
- Metabase migration code for DB version 10 (from 9) (#4184)
- __NEOFS__NONCE attribute from metabase (#4187)
Updated
github.com/nspcc-dev/neofs-contractsmodule tov0.27.0(#4121, #4195)google.golang.org/grpcdependency from 1.83.1 to 1.83.2 (#4169)github.com/nspcc-dev/neofs-sdk-gomodule tov1.0.0-rc.23(#4168, #4187, #4193, #4197, #4202)
Updating from v0.56.0
To change an FSTree layout depth, configure the new blobstor.depth and set blobstor.allow_depth_change to true, then restart the storage node. After the node logs that reshaping has completed, the flag can be removed.
Network maps with 0.56.0 nodes can differ from previous ones because of address conversion from multiaddr. Multiaddr is still accepted by IR and SN, but this support will be removed in the next release.
All applications should be updated to use parameterized Get instead of GetRange method since this version doesn't support GetRange.
Metabase migration for version 10 introduced in NeoFS node 0.52.0 was removed from this release, upgrade to 0.56.0 first if using earlier versions or resynchronize metabases.
This release introduces metabase version 12 with minor changes to the old version. Metabases will be migrated automatically on node startup, but this can take some time for large shards with many objects.
v0.56.0 - Nabdo
Added
- Self-signed certificates for TLS gRPC endpoints (#4114, #4152)
--raw-attributesoutput mode inneofs-cli object headandneofs-cli container list-objects(#4139)- Support for API 2.26 requests with single signature (#4144)
Fixed
- SN could panic on forwarding GET/HEAD/RANGE request (#4120)
- Storage node shuts down when SIGHUP configuration reload fails (#4113)
- Storage node shuts down gracefully on invalid node attributes during SIGHUP (#4113)
- Object GET availability during policer relocation (#4122)
- SN accepted REPLICATE requests after removal from container placement (#4133)
neofs-cli container get-eaclandneofs-cli session create-v2no longer print non-JSON text before JSON output (#4129)- Policer no longer removes tombstone objects from backup container storage nodes (#3587)
- Inconsistent object list in EC containers during Search (#4151)
Changed
- SNs exchange TLS certificates on inter-node connections (#4097)
- SN no longer adds origin signature to EC requests sent to remote nodes with API >= v2.25 (#4118)
- SN now allocates less to handle ranged GET requests (#4115)
- SN responds with server's API version only if it is older than client (#4110)
- SNs no longer sign TTL=1 requests over mutually authenticated inter-node connections (#4100, #4159)
- Optimized GRPC read/write bufferring (#4130)
- TLS key of SN is now always read from the node wallet instead of configuration (#4131)
- SN now allocates less to forward SEARCH/GET/HEAD requests (#4116, #4160, #4158)
- SN object GET server now communicates over remote SN API version if it is lower than the local one (#4153)
Removed
- Session token storage migration (#4124)
- Metabase migrations for DB versions 8 and 9 (#4127)
- Support for deprecated container contract calls and notifications in IR (#4141)
Updated
github.com/nspcc-dev/neo-gomodule to v0.123.0 (#4123, #4162)github.com/nspcc-dev/neofs-sdk-gomodule to v1.0.0-rc.22 (#4123, #4144, #4116, #4162)- Go 1.26+ is required to build now (#3816)
- github.com/cheggaaa/pb dependency from v1.0.29 to v3.2.1 (#4135)
github.com/klauspost/compressdependency from v1.18.4 to v1.19.2 (#4135)github.com/klauspost/reedsolomondependency from v1.13.2 to v1.14.2 (#4135)github.com/mr-tron/base58dependency from v1.2.0 to v1.3.0 (#4135)github.com/panjf2000/ants/v2dependency from v2.11.5 to v2.12.1 (#4135)github.com/prometheus/client_golangdependency from v1.23.2 to v1.24.1 (#4135)go.uber.org/zapdependency from v1.27.1 to v1.28.0 (#4135)golang.org/x/netdependency from v0.57.0 to v0.58.0 (#4135)google.golang.org/grpcdependency from v1.82.1 to v1.83.1 (#4135)google.golang.org/protobufdependency from v1.36.11 to v1.36.12 (#4135)github.com/nspcc-dev/locode-dbdependency from 0.8.2 to 0.9.0 (#4138)
Updating from v0.55.0
Session token storage migration introduced in v0.52.0 has been removed. Storage nodes updating from versions earlier than v0.52.0 must first update to a v0.52.0-v0.55.0 release and let the migration complete before updating to this release.
Metabase migrations for versions 8 and 9 introduced in NeoFS node 0.49.0 and 0.51.0 were removed from this release, upgrade to 0.55.0 first if using earlier versions or resynchronize metabases.
Remove grpc.tls.key from SN configurations: TLS keys are now always read from the node wallet.
IR won't approve some container operations created by SNs with versions lower than 0.51.0, upgrade SNs appropriately.
v0.55.0 - Moido
Added
- Storage node support GET request with missing part index X-Header (#4033)
fstree-decompressutility for rewriting old compressed FSTree objects (#4079)- Extended payload ranges in GET requests and the
object getCLI command (#4094)
Fixed
- Session v2 token was not supported in the new container + eACL RPC (#4056)
- Full reads from compressed combined FSTree objects corrupting the zstd stream (#4055)
- Wrong (1028) status code returned for missing session token verb, should be 2048 (#4052)
- IR changing hardfork name case before passing it to neo-go (#4085)
- More than one EC part can be PUT on a node with overall success response code (#3994)
- SN does not cache session tokens in REPLICATE (#4082)
Changed
- Optimized GET for fully buffered payloads (#4058)
- Proxied GET data is not checked against SHA256 hash from header (#4081)
- SN requests EC part ranges using GET API instead of deprecated RANGE one (#4067, #4102)
- In-container SN no longer attaches session/bearer tokens to spawned GET/HEAD requests (#4067)
- SN no longer limits number of concurrent outgoing requests in PUT handler (#4092)
- SN no longer limits number of concurrent shard PUT ops (#4092)
- SN no longer limits local PUT with static timeout (#4092)
- SN no longer limits number of concurrent outgoing requests in SearchV2 handler (#4092)
- Inter-node TLS certificates are verified against node keys (#4095)
- SN does not sign EC parts, it attaches payload hashes to parent's attributes instead (#4057)
- Origin verification and meta headers are no longer considered for requests (#4103)
- RANGE requests now using the same forwarding scheme as GET (#4103)
- PUT request forwarding no longer mangles meta headers (#4103)
- SN spends less memory to handle range-only EC GET requests (#4102)
- SN does not respond with server's epoch in response meta header (#4072)
Removed
- Compression support from FSTree (#4054)
- IR container structurization migration (#4062)
- ADM no longer adds
storage.shard_pool_sizeto produced SN configurations (#4092)
Updated
- golang.org/x/net dependency from 0.51.0 to 0.55.0 (#4060)
github.com/nspcc-dev/neofs-sdk-gomodule tov1.0.0-rc.21(#4065, #4099, #4107)- NeoGo dependency to 0.121.0 (#4083)
- golang.org/x/crypto dependency from 0.51.0 to 0.52.0 (#4084)
- google.golang.org/grpc dependency from 1.79.3 to 1.82.1 (#4098)
Updating from v0.54.0
Drop blobstor compress and compression_exclude_content_types settings, they're no longer used. Notice that old (compressed) data is still available, but no new objects are going to be compressed. Support for compressed blobstors will eventually be phased out in about half a year.
Storage nodes with compressed FSTree objects can run fstree-decompress while Linux storage nodes continue serving requests. On other platforms, stop the storage node first and run the utility as the same operating-system user as the storage node. The utility accepts either a single FSTree path or the node config and rewrites objects as plain canonical bytes.
IR container structurization migration introduced in v0.51.0 has been removed. Inner Ring nodes updating from versions earlier than v0.51.0 must first update to a v0.51.0-v0.54.0 release and let the migration complete before updating to v0.55.0.
Drop no longer supported options from all SN configurations:
object.put.pool_size_remotestorage.shard_pool_sizestorage.put_retry_timeoutobject.search.pool_size
v0.54.0 - Ando
Added
- Possibility to set eACL in the same RPC that creates new container (#4006)
Fixed
- SN panic on start without Control service (#4017)
- Incorrect protobuf scanning (#4013)
- Data race in RANGE response buffer (#4013)
- Incorrect access denial during EACL rechecks for payload-only GET (#4024, #4029)
- neofs-ir does not fill
neofs_ir_state_epochmetrics on startup and does not keep it actual after FS chain connection loss (#4035) - Ranged object reads from FSTree sometimes returning more payload bytes than requested (#4046, #4051)
- Incorrect remote EC part ranges used during policer checks (#4051)
Changed
- Optimized EC GET request execution (#3996)
- Optimized GET/HEAD/SEARCH/RANGE request signing when forwarding (#4008, #4021)
- Optimized ranged GET in FSTree (#4016)
- Split object assembly now prefetches child objects concurrently while streaming (#4014, #4042)
Updated
v0.53.0 - Sido
Added
storage.shard.metabase.search_iteration_limitSN config option limiting fruitless SearchV2 metabase iterations (#3915)- Policer cycle/object metrics with replica vs EC breakdown (#3945)
replicator.disable_post_initial_queueSN config option (#3959)sd_notifysupport: both storage and inner ring nodes now notify systemd when the service is ready, allowingType=notifyin systemd unit files (#3943)- GET now supports payload ranges (#3991)
Fixed
- Policer removes redundant local shard copies that could remain on disk forever (#3908, #3997)
- Treat only HALTed main transactions as successfully executed, retry the rest (#3868)
different object owner and session issuerfor stored objects (#3929)- SearchV2 method returning zero result instead of "bad request" error for incorrect numeric filters (#3934)
- Garbage double-counting in metrics (#3933)
- Panic in session token storage epoch parsing (#3941)
- Compressed object GET failure in some cases (#3936)
- Support v2 session tokens in cli object search (#3955, #3962)
- Write cache may flush empty objects to FSTree in some scenarious (#3937)
- Warnings in logs of node receiving garbage objects to store from peers (#3916)
meta resyncfailures with address mismatch on case-insensitive filesystems (#3969)
Changed
object searchCLI command is now the same asobject searchv2(#3931)- Optimized integer comparison in SearchV2 (#3938, #3947)
- Optimized number of nodes for SEARCH in EC containers (#3940)
- Optimized post-initial placement replication (#3923)
- All regular state-modifying DB operations are batched now (was Put-only, #3942)
- Optimized metabase object checks for container-level GC marks (#3953)
- Rejected metabase PUT requests into GC-marked containers (#3953)
- Improved IR list caching in SN (#3954)
- Optimized local (TTL=1, EC parts) request processing (#3957)
neofs-clidoes not allow searches based on homomorphic hash values (#3847)neofs-cli,neofs-nodedo not allow searches based on homomorphic hash values (#3847)- Storage nodes do not calculate homomorphic hashes for objects (#3847)
- Optimized GET/HEAD/RANGE request forwarding (#3877, #3967)
- Optimized netmap caching in node (#3966)
- Store associated object ID as bytes instead of Base58 in metabase (#3971)
- Optimized local RANGE request execution (#3967)
Removed
policer.max_workersconfiguration (#3920)- Deprecated
Searchmethod support from storage nodes (#3931) - Internal conversions of node addresses received from network map (#3981)
GetRangeHashmethod support from storage nodes and relatedobject hashCLI command (#3991)
Updated
- NeoGo dependency to 0.119.0 (#3993)
github.com/nspcc-dev/neofs-sdk-gomodule tov1.0.0-rc.19(#3991, #3999)
Updating from v0.52.0
Drop policer.max_workers configuration, it's no-op since 0.52.0.
Use CLI object search command instead of object searchv2, functionally they are the same now and v2 variant will be removed in future.
Storage nodes no longer implement deprecated and insecure Search method, migrate to Searchv2 if needed.
Metabase will migrate to version 11 with this release to update object counters, this can take a while for shards with a lot of objects.
Storage nodes no longer implement deprecated GetRangeHash method and neofs-cli object hash command has been removed.
GET now supports payload ranges. Migrate from deprecated RANGE requests to GET with range parameters, old ones are still supported but will be removed eventually.
v0.52.0 - Woodo
Delivering performance optimizations and initial placement feature this release also brings with it much more powerful maintenance tools and a huge list of updates and fixes.
Added
neofs-lancet meta resynccommand (#3849, #3890)policer.boost_multiplierSN config option (#3855)neofs-lancet storage flush-write-cachescommand (#3872)- Reload gRPC SN config with SIGHUP (#3874)
- Support for creation of containers with initial placement policy (#3830)
neofs-lancet meta removecommand (#3891)neofs-lancet fstree removecommand (#3892)- SN has new
root,ts,lock,link,gcobject counter metrics (#3740) - Optimal placement state metric (#3901)
Fixed
- Resending the header after chunks have already been sent in object service
Gethandler (#3833) - GC deadlock on local object storage shutdown (#3837)
owner mismatches signaturefor stored objects (#3836)- SN does not retry resending failed transaction because of insufficient GAS in some cases (#3839)
- Too early GET/HEAD/RANGE request failure on single SN dial failure (#3840)
- Payment deadlock on IR side (#3842)
- Wrong shard ID entry in FSTree descriptor (#3849, #3861)
- Shard evacuation replicate for EC parts (#3854)
- Suboptimal shard selection for EC parts during data evacuation (#3870)
- No redistribution of objects when adding a new
REP 3node (#3873) - Split of a split is allowed (#3867)
- SN no longer fails to read valid objects with non-payload fields larger than 16K (#3887)
- Session v2 origin signature verification (#3909)
Changed
- SN returns unsigned responses to requests with API >=
v2.22(#3785) - Move lancet
write-cacheget/listcommands intofstreesection in CLI (#3838, #3844) - Session key storage access session keys by account only (#3817)
- Optimized locking for reputation data collector (#3851)
- Optimized local HEAD/GET request execution (#3783, #3882, #3903)
- Unpaid container's data is deleted now (#3691)
- Policer iterates engine-level object list now instead of shard-level (#3862)
- SN now ignores
copies_numberfield ofobject.PutRequest.Body.Initmessage (#3830) - Policer starts from a random offset (#3879)
- SN now determines request API version from original request meta header (#3897)
- 2.18 is the minimum supported version for new objects (#3869)
- Rename
neofs-lensintoneofs-lancet(#3894) - SN no longer accepts objects with invocation or verification script bigger than 1KiB (#3887)
- Every object with non-zero payload is now paid, not only regular ones (#3856)
- Separate policer placement state from replica shortage (#3901)
Removed
node.persistent_sessions.pathconfig option from SN config (#3846)- Undocumented ability to fetch the latest contract release for adm update-contracts (#3850)
storage.shards.resync_metabaseconfig option from SN config (#3849)- One-time netmap contract placement migration routine for v0.49.0+ releases (#3821)
- Metabase v5 to v6 and v6 to v7 migrations (#3864)
- SN's
logicobject counter metric (#3740) replicator.pool_sizeoption (#3899)
Updated
github.com/nspcc-dev/neofs-sdk-gomodule tov1.0.0-rc.18(#3785, #3817, #3808, #3830, #3883, #3896, #3887, #3906)github.com/nspcc-dev/neo-gomodule tov0.118.0(#3896)- Go 1.25+ is required to build now (#3525)
github.com/klauspost/compressdependency from v1.18.0 to v1.18.4 (#3850)github.com/klauspost/reedsolomondependency from v1.12.5 to v1.13.2 (#3850)github.com/nspcc-dev/tzhashdependency from v1.8.3 to v1.8.4 (#3850)github.com/panjf2000/ants/v2dependency from v2.11.3 to v2.11.5 (#3850)github.com/spf13/cobradependency from v1.10.1 to v1.10.2 (#3850)go.uber.org/zapdependency from v1.27.0 to v1.27.1 (#3850)golang.org/x/netdependency from v0.47.0 to v0.51.0 (#3850)google.golang.org/grpcdependency from v1.75.1 to v1.79.1 (#3850)google.golang.org/protobufdependency from v1.36.10 to v1.36.11 (#3850)
Updating from v0.51.1
SN config option node.persistent_sessions.path was deprecated since release 0.50.0 and has now been removed. Drop this config and associated file, migrate with 0.51.1 if needed. Sessions are stored in node.persistent_state.path DB now.
Delete storage.shards.resync_metabase config option from SN config, it's no longer used. Use neofs-lancet meta resync command if you need to resync metabase.
Delete replicator.pool_size config option from SN config, it's no longer needed.
Storage nodes no longer automatically migrate metabases from version 5 (NeoFS 0.46.0) to 6 (NeoFS 0.48.0) and from version 6 to version 7 (NeoFS 0.48.1), migrate using SN 0.51.1 or resynchronize with 0.52.0 if needed.
Storage nodes clean up objects that belong to unpaid containers. This means data will permanently be deleted from shards, recovery isn't possible.
copies_number parameter of object PUT request no longer has any effect. Use max_replicas setting of container's initial placement policy instead.
CLI --await flag is now deprecated for container commands. For servers supporting NeoFS API version starting from v2.21, the flag may be safely dropped. For older servers, success checks should now be done by polling with symmetric read command instead. Please note that this flag will be removed in a future release.
neofs-lens command was renamed to neofs-lancet to reflect that it now supports modifying storage state in addition to inspection. Replace neofs-lens references with neofs-lancet.
v0.51.1
Added
neofs-cli container policy checkcommand (#3790)neofs-adm mainchain updatecommand (#3799, #3811)neofs-adm mainchain versioncommand (#3811)policer_consistency_stateSN metric that means all SN's objects correspond placement policies (#3795)
Fixed
- Unclosed compressed FSTree files (#3802)
- Potential payload overflow on getting full object from combined FSTree file (#3801)
- Too high nbf/iat token defaults in CLI for testnet/mainnet (#3819)
- Repeated attempts to delete nonexistent objects (#3820)
- Address change in configuration not triggering netmap update (#3828)
- Billing for networks with 0.25.0 -> 0.26.0 migrated contracts (#3832)
Changed
- SN retries notary requests if
insufficient amount of gaserror appears (#3739) - Speed up metabase resync by using batch operations (#3804)