Changelog for NeoFS Node
neofs-adm morph generate-storage-wallet
now supports more than one wallet generation per call (#2425)- Missing containers cleanup (#1663)
- IR does not wait for HTTP servers to stop gracefully before exiting (#2704)
- Zero exit code if IR fails (#2704)
- Neo RPC client failure when the first endpoint is unavailable even if there are more endpoints to try (#2703)
- Incorrect address mapping of the Alphabet contracts in NNS produced by deployment procedure (#2713)
- IR compares and logs public keys difference, not hash of keys difference at SN verification check (#2711)
- Incorrect handling of notary request leading to inability to collect signatures in some cases (#2715)
- Created files are not group writable (#2589)
- IR does not create new notary requests for the SN's bootstraps but signs the received ones instead (#2717)
- IR can handle third-party notary requests without reliance on receiving the original one (#2715)
- Deprecated
neofs-adm [...] inspect
commands (#2603)
neofs-adm [...] inspect
commands were deleted, use get
instead.
0.39.2 - 2023-12-21
NeoFS chain's auto-deployment fixes with some maintainability improvements.
- Logs on a connection drop in the cache of NeoFS API clients (#2694)
- Auto-deployment of the Balance and Container contracts (#2695)
0.39.1 - 2023-12-19
- Fund transfer deadlock in NeoFS chain auto-deploy/update procedure (#2681)
- Invalid contracts' update transactions when epochs are stuck during the NeoFS chain update (#2680)
- Metrics availability during startup (#2677)
0.39.0 - 2023-12-12 - Baegado
Complete contract autodeploy/autoupdate functionality, much simplified SN/IR attribute interaction, numerous optimizations and obligatory bug fixes --- that's your new NeoFS release in short. Beware of deprecated commands and options removal, check your scripts and configurations and update to the latest and greatest of NeoFS.
- Policer's setting to the SN's application configuration (#2600)
- Support of verified domains for the storage nodes (#2280)
neofs-lens storage status
CLI command (#2550)- Human-readable output of objects' creation timestamp to
neofs-cli container list-objects
(#2653) - Ability to preset P2PNotary and NeoFSAlphabet roles to validators at the FS chain's genesis (#2643)
neofs-cli netmap netinfo
documentation (#2555)GETRANGEHASH
to a node without an object producedGETRANGE
orGET
requests (#2541, #2598)- Iteration over locally collected container estimation values (#2597)
- Synchronous objects
PUT
to the local storage (#2607) copies_number
field was not used inPUT
request handling (#2607)- Neo-go notary deposit data workaround (#2429)
- Error of missing network endpoint in
neofs-cli object
commands when it is set in the file config (#2608)
- FSTree storage now uses more efficient and safe temporary files under Linux (#2566, #2624, #2633)
- BoltDB open timeout increased from 100ms to 1s (#2499)
- Internal container cache size from 10 to 1000 (#2600)
- Transaction witness scope no longer uses CustomGroups relying on more strict Rules now (#2619)
- New optimized SDK version is integrated (#2622)
- IR uses internal LOCODE DB from Go package (#2610, #2658)
- Contract group for the committee is no longer registered/used in the Sidechain auto-deployment (#2642)
- IR does not change SNs' attributes, SNs expand UN/LOCODE attributes do it themselves (#2612)
- The priority of metrics service is increased (#2428)
- The priority of running control service is maximized (#2585)
- Deprecated
no-precheck
flag ofneofs-cli container set-eacl
(#2496) - Recently-handled objects Policer's cache (#2600)
- Deprecated blobovnicza substorage (#2614)
- Contract group wallet support from
neofs-adm
(#2619) neofs-cli util locode generate
andneofs-cli util locode info
commands (#2610)- Locode DB configuration options (#2610)
v
prefix in version (#2640)
- Update minimal supported Go version up to v1.19 (#2485)
- Update
neo-go
tov0.104.0
(#2221, #2309, #2596, #2626, #2639, #2659) neofs-lens
inspect
object commands toget
withinspect
deprecation (#2548)- Update
tzhash
tov1.7.1
github.com/panjf2000/ants/v2
tov2.8.2
github.com/nspcc-dev/neofs-contract
tov0.18.0
(#2580)golang.org/x/net
to 0.17.0 (#2621)github.com/nats-io/nats-server/v2
to 2.9.23 (#2623)- UUID, golang-lru, compress, go-multiaddr, nats.go, cobra, grpc and other dependencies (#2632)
hrw
library to v2.0.0 version (#2629, #2658)github.com/nats-io/nkeys
to 0.4.6 (#2636)- neofs-contract to v0.19.1 (#2659)
Blobovniczas are gone from the node with this release, see 0.38.0 upgrade notes for migration instruction (the tool is still provided, but will be gone after a couple of minor releases).
neofs-adm no longer creates a contract group wallet and no longer needs it for the operation which may affect deployment scripts.
Pre-0.39.0 storage nodes may not be able to register on the network running 0.39.0 inner ring nodes unless they provide complete LOCODE data in the configuration (0.39.0 SNs add it automatically, so upgrade SNs).
native_activations
subsection of consensus
IR configuration should be
removed. It never actually did anything useful anyway.
Automatic contract deployments and updates require fschain_autodeploy
configuration, currently it's optional an IR behaves as previously by default.
0.38.1 - 2023-09-18
A tiny fix for peapod-enabled nodes.
- Inability to start node with peapods configured (#2576)
neofs-adm morph set-config
command error messages (#2556)
0.38.0 - 2023-09-13 - Gogado
A number of important fixes are brought by this release, including protocol ones (subnet and system EACL changes), as well as an updated storage subsystem and useful CLI updates making it more powerful and user-friendly at the same time.
Some previously deprecated configuration options were removed, so be careful
and this is the last minor release to support the Blobovnicza tree storage
subsystem. Starting with the next minor release, the component will be purged,
so be prepared (see Updating
section) and migrate to more efficient and
simple Peapod.
- Embedded Neo contracts in
contracts
dir (#2391) dump-names
command for admrenew-domain
command for adm- Stored payload metric per container (#2116)
- Stored payload metric per shard (#2023)
- Histogram metrics for RPC and engine operations (#2351)
- New storage component for small objects named Peapod (#2453)
- New
blobovnicza-to-peapod
tool providing blobovnicza-to-peapod data migration (#2453) - SN's version and capacity is announced via the attributes automatically but can be overwritten explicitly (#2455, #602)
peapod
command forneofs-lens
(#2507)- New CLI exit code for awaiting timeout (#2380)
- New CLI exit code for already removed objects (#2376)
- Validation of excessive positional arguments to
neofs-cli
commands (#1941) --lifetime
flag tobearer create
andobject put
CLI commands (#1574)--expired-at
flag tosession create
andstoragegroup put
CLI commands (#1574)- Sessions to RPC server running in IR's local consensus mode (#2532)
neofs-cli object nodes
command to get SNs for an object (#2512)- Fetching container estimations via iterators to prevent NeoVM stack overflow (#2173)
neofs-adm morph netmap-candidates
CLI command (#1889)- SN network validation (is available by its announced addresses) on bootstrap by the IR (#2475)
- Display of container alias fee info in
neofs-cli netmap netinfo
(#2553) neofs-lens storage inspect
CLI command (#1336)neofs-lens
payload-only flag (#2543)neofs-lens meta put
CLI command (#1816)- Sidechain auto-deployment to the Inner Ring app (#2195)
neo-go
RPC connection loss handling (#1337)- Concurrent morph cache misses (#1248)
- Double voting for validators on IR startup (#2365)
- Skip unexpected notary events on notary request parsing step (#2315)
- Session inactivity on object PUT request relay (#2460)
- Missing connection retries on IR node startup when the first configured mainnet RPC node is not in sync (#2474)
- Storage node no longer ignores unhealthy shards on startup (#2464)
- Processing of status errors returned by API client from NeoFS SDK RC-9 (#2465)
neofs-lens write-cache list
command duplication (#2505)neofs-adm
works with contract wallet ininit
andupdate-contracts
commands only (#2134)- Missing removed but locked objects in
SEARCH
's results (#2526) - LOCK objects and regular objects expiration conflicts (#2392)
- SN responds with a different node information compared to a bootstrapping contract call's argument (#2568)
neofs-cli object put
command processes multiple--attributes
flags (#2427)
- Deprecated
morph.rpc_endpoint
SN andmorph.endpoint.client
IR config sections (#2400) neofs_node_object_epoch
metric for IR and SN (#2347)- Subnets support (#2411)
- Logging utility completely replaced with
zap.Logger
(#696) - System eACL modification ability in the
neofs-cli
andIR
(netmap candidate validation) (#2531)
- CLI
--timeout
flag configures whole execution timeout from now (#2124) - CLI default timeout for commands with
--await
flag increased to 1m (#2124) - BlobStor tries to store object in any sub-storage with free space (#2450)
- SN does not store container estimations in-mem forever (#2472)
- CLI
neofs-cli container set-eacl
checks container's ownership (#2436)
neofs-sdk-go
tov1.0.0-rc.11
CLI command timeouts (flag --timeout
) now limit the total command execution
time and not single network operation. If any commands suddenly start to fail
on timeout, try increasing the value, for example, twice. Also note that the
execution of commands with the --await
flag and without an explicitly
specified time period is now limited to 1 minute. This value can be changed with
--timeout
flag.
Histogram (not counter) RPC/engine operation handling time metrics were added. For
an old engine *operation_name*_duration
a new *operation_name*_time
is available.
For an old *operation_name*_req_duration
RPC a new rpc_*operation_name*_time
is
available. The old ones (the counters) have been deprecated and will be removed with
the following minor release.
Container estimation main node calculation has been changed. A new 32-byte long
array is taken as a sorting pivot: it is an estimated container with the first 8 bytes
replaced with a target epoch in a little-endian encoding now.
Deprecated morph.rpc_endpoint
SN and morph.endpoint.client
IR configurations
have been removed. Use morph.endpoints
for both instead.
Deprecated neofs_node_object_epoch
metric for IR and SN (the same for both)
has been removed. Use neofs_node_state_epoch
for SN and neofs_ir_state_epoch
for IR instead.
Deprecated --no-precheck
flag in neofs-cli container set-eacl
use --force
flag instead for skipping validation checks.
Subnets support has been removed:
- IR's
workers.subnet
andcontracts.subnet
configs are not used anymore. - SN's
node.subnet
config section is not used anymore. neoofs-amd morph
does not havesubnet
subcommand anymore.neofs-cli container create
does not have--subnet
flag anymore.
Docker images now contain a single executable file and SSL certificates only.
neofs-cli control healthcheck
exit code is 0
only for "READY" state.
To migrate data from Blobovnicza trees to Peapods:
$ blobovnicza-to-peapod -config </path/to/storage/node/config>
For any shard, the data from the configured Blobovnicza tree is copied into
a created Peapod file named peapod.db
in the directory where the tree is
located. For example, /neofs/data/blobovcniza/*
-> /neofs/data/peapod.db
.
Notice that existing Blobovnicza trees are untouched. Configuration is also
updated, for example, /etc/neofs/config.yaml
-> /etc/neofs/config_peapod.yaml
.
WARN: carefully review the updated config before using it in the application!
To store small objects in more effective and simple sub-storage Peapod, replace
blobovnicza
sub-storage with the peapod
one in blobstor
config section.
If storage node already stores some data, don't forget to make data migration
described above.
0.37.0 - 2023-06-15 - Sogado
neofs_[node|ir]_version
withversion
label (#2326)- TLS RPC support for IR consensus mode (#2322)
- Multiple neo-go RPC reconnection attempts with a delay (#2307)
- NeoFS CLI generates random private key automatically if wallet is omitted (#2123)
morph.validators
config can be omitted for IR in local consensus mode but must be non-empty otherwise (#2311)
- Inability to restore RPC connection after the second disconnect (#2325)
- Tree service panics when cleaning up failed connections (#2335)
- Dropping small objects on any error on write-cache side (#2336)
- Iterating over just removed files by FSTree (#98)
- IR metrics moved to
neofs_ir
namespace and epoch metrics toobject
subsystem (#2344) - IR metrics config reading (#2344)
- Write-cache initialization in read-only mode (#2504)
- Non-notary mode support for sidechain (#2321)
- Priority switching b/w RPC endpoints in the morph client (#2306)
- Support for binary keys in the CLI (#2357)
- Update minimal supported Go version up to v1.18 (#2340)
- tzhash library to 1.7.0 (#2348)
github.com/hashicorp/golang-lru
tov2.0.2
neofs-sdk-go
tov1.0.0-rc.8
- BoltDB (
go.etcd.io/bbolt
) to 1.3.7
neofs_node_object_epoch
metric for IR and SN (the same for both) has been deprecated and will be removed with the
next minor release. Use neofs_node_state_epoch
for SN and neofs_ir_state_epoch
for IR instead.
Storage and Inner-ring nodes exposes their version via the neofs_[node|ir]_version
metric now.
In the local consensus mode (IR) it is allowed to provide additional TLS setup addresses now, see
morph.consensus.rpc.tls
section.
morph.switch_interval
IR and SN config value is not used anymore.
morph.rpc_endpoint
SN config value and morph.endpoint.client
IR config value has been deprecated and will be
removed with the next minor release. Use morph.endpoints
for both instead (NOTE: it does not have priorities now).
If you're using binary keys with neofs-cli (-w
), convert them to proper
NEP-6 wallets like this:
$ xxd -p < path_to_binary.wallet # outputs hex-encoded key
$ neofs-cli util keyer <hex_key> # outputs WIF
$ neo-go wallet import -w <wallet_file> --wif <wif_key>
or just generate/use new keys.
In local consensus mode morph.validators
in IR's config can be omitted now, morph.consensus.committee
will be used instead.
For detached consensus, it is a required config parameter now.
0.36.1 - 2023-04-26
- Storage node hanging after RPC disconnect (#2304)
- Using deprecated NeoGo APIs (#2219, #2310)
- Storage node panicking on exit (#2308)
- Inner ring node panic on exit if internal CN is not enabled (#2308)
- Typo in help message (#2240)
- FallbackTime Morph client configuration option (#2310)
0.36.0 - 2023-04-14 - Gado
A number of fixes and an internal CN for IR nodes. An update is recommended, data storage scheme is compatible with 0.35.0.
- Doc for extended headers (#2128)
- Separate batching for replicated operations over the same container in pilorama (#1621)
object.delete.tombstone_lifetime
config parameter to set tombstone lifetime in the DELETE service (#2246)- neofs-adm morph dump-hashes command now also prints NNS domain expiration time (#2295)
- Launch mode of the Inner Ring with local consensus (#2194)
common.PrintVerbose
prints viacobra.Command.Printf
(#1962)- Storage node's
replicator.put_timeout
config default to1m
(#2227) - Full list of container is no longer cached (#2176)
- Pilorama now can merge multiple batches into one (#2231)
- Storage engine now can start even when some shard components are unavailable (#2238)
neofs-cli
buffer for object put increased from 4 KiB to 3 MiB (#2243)neofs-adm
now reuses network's setting during contract update if they're not overriden by configuration (#2191)
- Pretty printer of basic ACL in the NeoFS CLI (#2259)
- Failing SN and IR transactions because of incorrect scopes (#2230, #2263)
- Global scope used for some transactions (#2230, #2263)
- Potential data loss from nodes outside the container or netmap (#2267)
- Invalid Inner Ring listing method through Netmap contract with notary Sidechain (#2283)
- Divide-by-zero panic in Inner Ring's basic income distribution procedure (#2262)
- Big object removal with non-local parts (#1978)
- Disable pilorama when moving to degraded mode (#2197)
- Fetching blobovnicza objects that not found in write-cache (#2206)
- Do not search for the small objects in FSTree (#2206)
- Correct status error for expired session token (#2207)
- Restore subscriptions correctly on morph client switch (#2212)
- Expired objects could be returned if not marked with GC yet (#2213)
neofs-adm morph dump-hashes
now properly iterates over custom domain (#2224)- Possible deadlock in write-cache (#2239)
- Fix
*_req_count
and*_req_count_success
metric values (#2241) - Storage ID update by write-cache (#2244)
neo-go
client deadlock on subscription (#2244, #2272)- Possible panic during write-cache initialization (#2234)
- incorrect NNS resolve handling in neofs-adm (#2296)
- Failed TestNet replication (#2288)
neo-go
tov0.101.1
(some code also reworked to not use deprecated APIs)github.com/klauspost/compress
tov1.15.13
github.com/multiformats/go-multiaddr
tov0.8.0
golang.org/x/term
tov0.3.0
google.golang.org/grpc
tov1.51.0
github.com/nats-io/nats.go
tov1.22.1
New experimental config field object.delete.tombstone_lifetime
allows to set
tombstone lifetime more appropriate for a specific deployment.
0.35.0 - 2022-12-28 - Sindo (신도, 信島)
morph list-containers
inneofs-adm
(#1689)--binary
flag inneofs-cli object put/get/delete
commands (#1338)session
flag support toneofs-cli object hash
(#2029)- Shard can now change mode when encountering background disk errors (#2035)
- Background workers and object service now use separate client caches (#2048)
replicator.pool_size
config field to tune replicator pool size (#2049)- Fix NNS hash parsing in morph client (#2063)
neofs-cli neofs-cli acl basic/extended print
commands (#2012)neofs_node_object_*_req_count_success
prometheus metrics for tracking successfully executed requests (#1984)- Metric 'readonly' to get shards mode (#2022)
- Tree service replication timeout (#2159)
apiclient.reconnect_timeout
setting allowing to ignore failed clients for some time (#2164)
object lock
command reads CID and OID the same way other commands do (#1971)LOCK
object are stored on every container node (#1502)neofs-cli container get-eacl
print ACL table in json format only with arg `--json' (#2012)- Side chain notary deposits use max uint32 as till parameter (#1486)
- Allow object removal without linking object (#2100)
neofs-cli container delete
command pre-checks container ownership (#2106)- Policer cache size is now 1024 (#2158)
- Tree service now synchronizes with container nodes in a random order (#2127)
- Pilorama no longer tries to apply already applied operations (#2161)
- Use
sync.Pool
in Object.PUT service (#2139) - Shard uses metabase for
HEAD
requests by default, not write-cache (#2167) - Clarify help for
--expire-at
parameter for commandsobject lock/put
andbearer create
(#2097) - Node spawns
GETRANGE
requests signed with the node's key if session key was not found forRANGEHASH
(#2144)
- Open FSTree in sync mode by default (#1992)
neofs-cli container nodes
's output (#1991)- Increase error counter for write-cache flush errors (#1818)
- Correctly select the shard for applying tree service operations (#1996)
- Do not panic and return correct errors for bad inputs in
GET_RANGE
(#2007, #2024) - Physical child object removal by GC (#1699)
- Broadcasting helper objects (#1972)
neofs-cli lock object
'slifetime
flag handling (#1972)- Do not move write-cache in read-only mode for flushing (#1906)
- Child object collection on CLI side with a bearer token (#2000)
- Fix concurrent map writes in
Object.Put
service (#2037) - Malformed request errors' reasons in the responses (#2028)
- Session token's IAT and NBF checks in ACL service (#2028)
- Losing meta information on request forwarding (#2040)
- Assembly process triggered by a request with a bearer token (#2040)
- Losing locking context after metabase resync (#1502)
- Removing all trees by container ID if tree ID is empty in
pilorama.Forest.TreeDrop
(#1940) - Concurrent mode changes in the metabase and blobstor (#2057)
- Panic in IR when performing HEAD requests (#2069)
- Write-cache flush duplication (#2074)
- Ignore error if a transaction already exists in a morph client (#2075)
- ObjectID signature output in the CLI (#2104)
- Pack arguments of
setPrice
invocation during contract update (#2078) neofs-cli object hash
panic (#2079)- Closing
neo-go
WS clients on shutdown and switch processes (#2080) - Making notary deposits with a zero GAS balance (#2080)
- Notary requests on shutdown (#2075)
neofs-cli container create
check the sufficiency of the number of nodes in the selector for replicas (#2038)- Data duplication during request forwarding (#2047)
- Tree service panic on
TreeMove
operation (#2140) - Panic in
GETRANGE
with zero length (#2095) - Spawning useless
GETRANGE
with zero length for a big object (#2101) - Incomplete object put errors do contain the deepest error's message (#2092)
- Prioritize internal addresses for clients (#2156)
- Force object removal via control service (#2145)
- Synchronizing a tree now longer reports an error for a single-node container (#2154)
- Prevent leaking goroutines in the tree service (#2162)
- Do not search for LOCK objects when delete container when session provided (#2152)
- Race conditions on shard's mode switch (#1956)
- Returning expired/removed objects from write-cache (#2016)
-g
option fromneofs-cli control ...
andneofs-cli container create
commands (#2089)--header
fromneofs-cli object get
(#2090)
neo-go
tov0.100.0
spf13/cobra
tov1.6.1
spf13/viper
tov1.8.0
google.golang.org/grpc
tov1.50.1
Pass CID and OID parameters via the --cid
and --oid
flags, not as the command arguments.
Replicator pool size can now be fine-tuned with replicator.pool_size
config field.
The default value is taken from object.put.pool_size_remote
as in earlier versions.
Added neofs_node_object_*_req_count_success
metrics for tracking successfully executed requests.
neofs-cli container delete
command now requires given account or session issuer
to match the container owner. Use --force
(-f
) flag to bypass this requirement.
Tree service network replication can now be fine-tuned with tree.replication_timeout
config field.
0.34.0 - 2022-10-31 - Marado (마라도, 馬羅島)
--timeout
flag inneofs-cli control
commands (#1917)- Document shard modes of operation (#1909)
tree list
CLI command (#1332)TreeService.GetTrees
RPC (#1902)- All trees synchronization on bootstrap (#1902)
--force
flag toneofs-cli control set-status
command (#1916)- Logging
SessionService.Create
RPC on the server for debug (#1930) - Debian packages can now be built with
make debpackage
(#409)
- Path to a metabase can now be reloaded with a SIGHUP (#1869)
writecache.max_object_size
is now correctly handled (#1925)- Correctly handle setting ONLINE netmap status after maintenance (#1922)
- Correctly reset shard errors in
ControlService.SetShardMode
RPC (#1931) - Setting node's network state to
MAINTENANCE
while network settings forbid it (#1916) - Do not panic during API client creation (#1936)
- Correctly sign new epoch transaction in neofs-adm for a committee of more than 4 nodes (#1949)
- Inability to provide session to NeoFS CLI in a NeoFS-binary format (#1933)
neofs-adm
now works correctly with a committee of more than 4 nodes (#1949, #1959)- Closing a shard now waits until GC background workers stop (#1964)
- Make it possible to use
shard.ContainerSize
in read-only mode (#1975) - Storage node now starts if at least one gRPC endpoint is available (#1893)
- Panic in API multy client (#1961)
- Blobstor object removal log messages (#1953)
- Missing object relatives in object removal session opened by NeoFS CLI (#1978)
- Bringing a node back online during maintenance (#1900)
neo-go
tov0.99.4
protoc
tov3.21.7
neofs-sdk
tov1.0.0-rc.7
Now storage node serves Control API SetNemapStatus
request with MAINTENANCE
status only if the mode is allowed in the network settings. To force starting the local
maintenance on the node, provide --force
flag to the neofs-cli control set-status
command.
0.33.0 - 2022-10-17 - Anmado (안마도, 鞍馬島)
- Serving
NetmapService.NetmapSnapshot
RPC (#1793) netmap snapshot
command of NeoFS CLI (#1793)apiclient.allow_external
config flag to fallback to node external addresses (#1817)- Support
MAINTENANCE
state of the storage nodes (#1680, #1681) - Changelog updates CI step (#1808)
- Validate storage node configuration before node startup (#1805)
neofs-node -check
command to check the configuration file (#1805)flush-cache
control service command to flush write-cache (#1806)wallet-address
flag inneofs-adm morph refill-gas
command (#1820)- Validate policy before container creation (#1704)
--timeout
flag inneofs-cli
subcommands (#1837)container nodes
command to output list of nodes for container, grouped by replica (#1704)- Configuration flag to ignore shard in
neofs-node
(#1840) - Add new RPC
TreeService.Healthcheck
- Fallback to
GET
ifGET_RANGE
from one storage nodes to another is denied by basic ACL (#1884) - List of shards and logger level runtime reconfiguration (#1770)
neofs-adm morph set-config
now supports well-knownMaintenanceModeAllowed
key (#1892)add
,get-by-path
andadd-by-path
tree service CLI commands (#1332)- Tree synchronisation on startup (#1329)
- Morph client returns to the highest priority endpoint after the switch (#1615)
- Allow to evacuate shard data with
EvacuateShard
control RPC (#1800) - Flush write-cache when moving shard to DEGRADED mode (#1825)
- Make
morph.cache_ttl
default value equal to morph block time (#1846) - Policer marks nodes under maintenance as OK without requests (#1680)
- Unify help messages in CLI (#1854)
evacuate
,set-mode
andflush-cache
control subcommands now accept a list of shard ids (#1867)- Reading
object
commands of NeoFS CLI don't open remote sessions (#1865) - Use hex format to print storage node ID (#1765)
- Description of command
netmap nodeinfo
(#1821) - Proper status for object.Delete if session token is missing (#1697)
- Fail startup if metabase has an old version (#1809)
- Storage nodes could enter the network with any state (#1796)
- Missing check of new state value in
ControlService.SetNetmapStatus
(#1797) - Correlation of object session to request (#1420)
- Do not increase error counter in
engine.Inhume
if shard is read-only (#1839) control drop-objects
can remove split objects (#1830)- Node's status in
neofs-cli netmap nodeinfo
command (#1833) - Child check in object assembly process of
ObjectService.Get
handler (#1878) - Shard ID in the object counter metrics (#1863)
- Metabase migration from the first version (#1860)
- Remove WIF and NEP2 support in
neofs-cli
's --wallet flag (#1128) - Remove --generate-key option in
neofs-cli container delete
(#1692) - Serving
ControlService.NetmapSnapshot
RPC (#1793) control netmap-snapshot
command of NeoFS CLI (#1793)
neofs-contract
tov0.16.0
neofs-api-go
tov2.14.0
Replace using the control netmap-snapshot
command with netmap snapshot
one in NeoFS CLI.
Node can now specify additional addresses in ExternalAddr
attribute. To allow a node to dial
other nodes external address, use apiclient.allow_external
config setting.
Add --force
option to skip placement validity check for container creation.
Pass maintenance
state to neofs-cli control set-status
to enter maintenance mode.
If network allows maintenance state (), it will be reflected in the network map.
Storage nodes under maintenance are not excluded from the network map, but don't
serve object operations. () can be fetched from network configuration via
neofs-cli netmap netinfo
command.
To allow maintenance mode during neofs-adm deployments, set
network.maintenance_mode_allowed
parameter in config.
When issuing an object session token for root (virtual, "big") objects, additionally include all members of the split-chain. If session context includes root object only, it is not spread to physical ("small") objects.
neofs-node
configuration now supports mode: disabled
flag for a shard.
This can be used to temporarily ignore shards without completely removing them
from the config file.
0.32.0 - 2022-09-14 - Pungdo (풍도, 楓島)
- Objects counter metric (#1712)
meta
subcommand toneofs-lens
(#1714)- Storage node metrics with global and per-shard object counters (#1658)
- Removal of trees on container removal (#1630)
- Logging new epoch events on storage node (#1763)
- Timeout for streaming RPC (#1746)
neofs-adm
is now able to dump hashes from a custom zone (#1748)- Empty filename support in the Tree Service (#1698)
- Flag to
neofs-cli container list-objects
command for attribute printing (#1649)
neofs-cli object put
's object ID output has changed from "ID" to "OID" (#1296)neofs-cli container set-eacl
command now pre-checks container ACL's extensibility (#1652)- Access control in Tree service (#1628)
- Tree service doesn't restrict depth in
rpc GetSubTree
(#1753) neofs-adm
registers contract hashes in both hex and string address formats (#1749)- Container list cache synchronization with the Sidechain (#1632)
- Blobstor components are unified (#1584, #1686, #1523)
- Panic on write-cache's
Delete
operation (#1664) - Payload duplication in
neofs-cli storagegroup put
(#1706) - Contract calls in notary disabled environments (#1743)
Blobovnicza.Get
op now iterates over all size buckets (#1707)- Object expiration time (#1670)
- Parser of the placement policy (#1775)
- Tree service timeout logs (#1759)
- Object flushing on writecache side (#1745)
- Active blobovniczas caching (#1691)
neofs-adm
TX waiting (#1738)neofs-adm
registers contracts with a minimal GAS payment (#1683)- Permissions of the file created by
neofs-cli
(#1719) neofs-adm
creates TX with a high priority attribute (#1702)- Storage node's restart after a hard reboot (#1647)
neo-go
tov0.99.2
nspcc-dev/neofs-contract
tov0.15.5
prometheus/client_golang
tov1.13.0
google.golang.org/protobuf
tov1.28.1
Storage Node now collects object count prometheus metrics: neofs_node_object_counter
.
Provide --no-precheck
flag to neofs-cli container set-eacl
for unconditional sending of a request
(previous default behavior).
0.31.0 - 2022-08-04 - Baengnyeongdo (백령도, 白翎島)
neofs-adm
allows deploying arbitrary contracts (#1629)
- Priority order in the Morph client (#1648)
- Losing request context in eACL response checks (#1595)
- Do not return expired objects that have not been handled by the GC yet (#1634)
- Setting CID field in
neofs-cli acl extended create
(#1650) neofs-ir
no longer hangs if it cannot bind to the control endpoint (#1643)- Do not require
lifetime
flag insession create
CLI command (#1655) - Using deprecated gRPC options (#1644)
- Increasing metabase error counter on disabled pilorama (#1642)
- Deadlock in the morph client related to synchronous notification handling (#1653)
- Slow metabase
COMMON_PREFIX
search for empty prefix (#1656)
- Deprecated
profiler
andmetrics
configuration sections (#1654)
chzyer/realine
tov1.5.1
google/uuid
tov1.3.0
nats-io/nats.go
tov1.16.0
prometheus/client_golang
tov1.12.2
spf13/cast
tov1.5.0
spf13/viper
tov1.12.0
go.uber.org/zap
tov1.21.0
google.golang.org/grpc
tov1.48.0
Change morph.endpoint.client
priority values using the following rule:
the higher the priority the lower the value (non-specified or 0
values are
interpreted as the highest priority -- 1
).
Deprecated profiler
and metrics
configuration sections are dropped,
use pprof
and prometheus
instead.
0.30.2 - 2022-08-01
EACL_NOT_FOUND
status code support (#1645).
0.30.1 - 2022-07-29
GetRange
operation now works correctly with objects stored in write-cache (#1638)- Losing request context in eACL response checks (#1595)
- Wrong balance contract in innerring processor (#1636)
neofs-adm
now sets groups in manifest for all contracts properly (#1631)
neo-go
tov0.99.1
neofs-sdk-go
tov1.0.0-rc.6
0.30.0 - 2022-07-22 - Saengildo (생일도, 生日島)
- Profiler and metrics services now should be enabled with a separate flag
- Experimental support for the tree-service, disabled by default (#1607)
- Homomorphic hashes calculation can be disabled across the whole network (#1365)
- Improve
neofs-adm
auto-completion (#1594)
- Require SG members to be unique (#1490)
neofs-cli
now doesn't remove container with LOCK objects without--force
flag (#1500)- LOCK objects are now required to have an expiration epoch (#1461)
morph
sections in IR and storage node configuration now accept an address and a priority of an endpoint (#1609)- Morph client now retries connecting to the failed endpoint too (#1609)
- Redirecting
GET
andGETRANGE
requests now does not store full object copy in memory (#1605) neofs-adm
now registers candidates during initialization in a single transaction (#1608)
-
Invalid smart contract address in balance contract listener (#1636)
-
Shard now can start in degraded mode if the metabase is unavailable (#1559)
-
Shard can now be disabled completely on init failure (#1559)
-
Storage group members are now required to be unique (#1490)
-
Print shard ID in component logs (#1611)
neofs-contract
tov0.15.3
neo-go
to the pre-release versiongithub.com/spf13/cobra
to v1.5.0
Change morph endpoints from simple string to a pair of address
and priority
. The second can be omitted.
For inner ring node this resides in morph.endpoint.client
section,
for storage node -- in morph.rpc_endpoint
section. See config/example
for an example.
Move storage.default
section to storage.shard.default
.
Rename metrics
and profiler
sections to prometheus
and pprof
respectively, though old versions are supported.
In addition, these sections must now be explicitly enabled with enabled: true
flag.
0.29.0 - 2022-07-07 - Yeonpyeongdo (연평도, 延坪島)
Support WalletConnect signature scheme.
- Retrieve passwords for storage wallets from the configuration in neofs-adm (#1539)
- Metabase format versioning (#1483)
neofs-adm
generates wallets in a pretty JSON formatMakefile
supports building from sources without a git repo
- Do not replicate object twice to the same node (#1410)
- Concurrent object handling by the Policer (#1411)
- Attaching API version to the forwarded requests (#1581)
- Node OOM panics on
GetRange
request with extremely huge range length (#1590)
neofs-sdk-go
to latest pre-release versiontzhash
tov1.6.1
0.28.3 - 2022-06-08
- Neo-go 0.98.3 => 0.99.0 (#1480)
- Replace pointers with raw structures in results for local storage (#1460)
- Move common CLI's functions in a separate package (#1452)
- Confirmation of eACL tables by alphabet nodes when ACL extensibility is disabled (#1485)
- Do not use WS neo-go client in
neofs-adm
(#1378) - Log more detailed network errors by the Alphabet (#1487)
- Fix container verification by the Alphabet (#1464)
- Include alphabet contracts to the base group in
neofs-adm
(#1489)
0.28.2 - 2022-06-03
- Neo-go 0.98.2 => 0.98.3 (#1430)
- NeoFS SDK v1.0.0-rc.3 => v1.0.0-rc.4
- NeoFS API v2.12.1 => v2.12.2
- NeoFS Contracts v0.14.2 => v0.15.1
- Config examples for Inner ring application (#1358)
- Command for documentation generation for
neofs-cli
,neofs-adm
andneofs-lens
(#1396)
- Do not ask for contract wallet password twice (#1346)
- Do not update NNS group if the key is the same (#1375)
- Make LOCODE messages more descriptive (#1394)
- Basic income transfer's incorrect log message (#1374)
- Listen to subnet removal events in notary-enabled env (#1224)
- Update/remove nodes whose subnet has been removed (#1162)
- Potential removal of local object when policy isn't complied (#1335)
- Metabase
Select
is now slightly faster (#1433) - Fix a number of bugs in writecache (#1462)
- Refactor eACL processing and fix bugs (#1471)
- Do not validate subnet removal by IR (#1441)
- Replace pointers with raw structures in parameters for local storage (#1418)
- Remove
num
andshard_num
parameters from the configuration (#1474)
0.28.1 - 2022-05-05
- Loss of the connection scheme during address parsing in NeoFS CLI (#1351)
0.28.0 - 2022-04-29 - Heuksando (흑산도, 黑山島)
morph dump-balances
command to NeoFS Adm (#1308)- Ability to provide session token from file in NeoFS CLI (#1216)
- Panic in
netmap netinfo
command of NeoFS CLI (#1312) - Container cache invalidation on DELETE op (#1313)
- Subscription to side-chain events in shards (#1321)
- Trusted object creation without session token (#1283)
- Storing invalid objects during trusted PUT op (#1286)
- RAM overhead when writing objects to local storage (#1343)
- NeoFS Adm output from stderr to stdout (#1311)
- Node's object GC mechanism (#1318)
Clean up all metabases and re-sync them using resync_metabase
config flag.
0.28.0-rc.3 - 2022-04-08
- Check expiration epoch of provided session token (#1168)
- Prevent corruption in
writecache.Head
(#1149) - Use separate caches in N3 RPC multi client (#1213)
neofs-adm
fixes (#1288, #1294, #1295)- Don't stop notification listener twice (#1291)
- Metabase panic (#1293)
- Disallow to tick block timer twice on the same height (#1208)
- Persistent storage for session tokens (#1189)
- Cache for Inner Ring list fetcher (#1278)
- Degraded mode of storage engine (#1143)
- Command to change native Policy contract in
neofs-adm
(#1289) - Single websocket endpoint pool for RPC and notifications (#1053)
- Cache NeoFS clients based only on public key (#1157)
- Make
blobovnicza.Put
idempotent (#1262) - Optimize metabase list operations (#1262)
- PDP check ranges are now asked in random order (#1163)
- Update go version up to v1.17 (#1250)
- Reduced amount of slices with pointers (#1239)
Remove NEOFS_IR_MAINNET_ENDPOINT_NOTIFICATION
,
NEOFS_IR_MORPH_ENDPOINT_NOTIFICATION
, and NEOFS_MORPH_NOTIFICATION_ENDPOINT
from Inner Ring and Storage configurations.
Specify WebSocket endpoints in NEOFS_IR_MAINNET_ENDPOINT_CLIENT
,
NEOFS_IR_MORPH_ENDPOINT_CLIENT
, and NEOFS_MORPH_RPC_ENDPOINT
at Inner Ring
and Storage configurations.
Specify path to persistent session token db in Storage configuration with
NEOFS_NODE_PERSISTENT_SESSIONS_PATH
.
0.28.0-rc.2 - 2022-03-24
- Respect format flags for
SplitInfo
output (#1233) - Output errors in neofs-cli to stderr where possible (#1259)
- Print details for AccessDenied errors in neofs-cli (#1252)
- Split client creation into 2 stages (#1244)
- Update morph client to work with v0.15.0 (#1253)
0.28.0-rc.1 - 2022-03-18
Native RFC-6979 signatures of messages and tokens, LOCK object types, experimental notifications over NATS with NeoFS API v2.12 support
- Remove session tokens from local storage of storage node after expiration (#1133)
- Readme typos (#1167)
- LOCODE attribute and announced address are not mandatory for relay node config (#1114)
- Check session token verb (#1191)
- Fix data race leading to reputation data loss (#1210)
- Look for
CustomGroup
scope in NNS contract before contract invocation (#749) - Cache of notary transaction heights (#1151)
- NATS notifications (#1183)
- LOCK object type (#1175, #1176, #1181)
- Progress bar for object upload/download in neofs-cli (#1185)
- Support of new status codes (#1247)
- Update neofs-api-go and neofs-sdk-go (#1101, #1131, #1195, #1209, #1231)
- Use
path/filepath
package for OS path management (#1132) - Shard sets mode to
read-only
if it hits threshold limit (#1118) - Use request timeout in chain client of neofs-adm (#1115)
- Generate wallets with 0644 permissions in neofs-adm (#1115)
- Use cache of parsed addresses in GC (#1115)
- Determine config type based on file extension in neofs-ir (#1115)
- Reuse some error defined in contracts (#1115)
- Improved neofs-cli usability (#1103)
- Refactor v2 / SDK packages in eACL (#596)
- Remove some wrappers from
morph
package (#625) GetRange
method in blobovnicza (#1115)- Deprecated structures from SDK v1.0.0 rc (#1181)
Set shard error threshold for read-only mode switch with
NEOFS_STORAGE_SHARD_RO_ERROR_THRESHOLD
(default: 0, deactivated).
Set NATS configuration for notifications in NEOFS_NODE_NOTIFICATION
section.
See example config for more details.
0.27.7 - 2022-03-30
- Shard ID is now consistent between restarts (#1204)
- More N3 RPC caches in object service (#1278)
0.27.6 - 2022-03-28
- Allow empty passwords in neofs-cli config (#1136)
- Set correct audit range hash type in neofs-ir (#1180)
- Read objects directly from blobstor in case of shard inconsistency (#1186)
- Fix
-w
flag in subnet commands of neofs-adm (#1223) - Do not use explicit mutex lock in chain caches (#1236)
- Force gRPC server stop if it can't shut down gracefully in storage node (#1270)
- Return non-zero exit code in
acl extended create
command failures and fix help message (#1259)
- Interactive storage node configurator in neofs-adm (#1090)
- Logs in metabase operations (#1188)
0.27.5 - 2022-01-31
- Flush small objects when persist write cache (#1088)
- Empty response body in object.Search request (#1098)
- Inner ring correctly checks session token in container.SetEACL request (#1110)
- Printing in verbose mode in CLI (#1120)
- Subnet removal event processing (#1123)
- Password support in CLI config (#1103)
- Shard dump restore commands in CLI (#1085, #1086)
acl extended create
command in CLI (#1092)
- Adopt new
owner.ID
API from SDK (#1100) - Use
go install
instead ofgo get
in Makefile (#1102) - Storage node returns Fixed12 decimal on accounting.Balance request. CLI prints Fixed8 rounded value by default. (#1084)
- Support new update interface for NNS contract in NeoFS Adm (#1091)
- Rename
use_write_cache
towritecache.enabled
in stoarge config (#1117) - Preallocate slice in
headersFromObject
(#1115) - Unify collection of expired objects (#1115)
- Calculate blobovnicza size at initialization properly (#1115)
- Process fast search filters outside bbolt transaction (#1115)
- Update TZHash library to v1.5.1
--wif
and--binary-key
keys from CLI (#1083)- Extended ACL validator moved to SDK library (#1096)
--generate-key
flag in CLI control commands (#1103)- Various unused code (#1123)
Use --wallet
key in CLI to provide WIF or binary key file instead of --wif
and --binary-key
.
Replace NEOFS_STORAGE_SHARD_N_USE_WRITE_CACHE
with
NEOFS_STORAGE_SHARD_N_WRITECACHE_ENABLED
in Storage node config.
Specify password: xxx
in config file for NeoFS CLI to avoid password input.
0.27.4 - 2022-01-13
- ACL check did not produce status code (#1062)
- Asset transfer wrapper used incorrect receiver (#1069)
- Empty search response missed meta header and body (#1063)
- IR node in single chain environment used incorrect source of IR list (#1025)
- Incorrect message sequence in object.Range request (#1077)
- Option to disable compression of object based on their content-type attribute (#1060)
- Factor out autocomplete command in CLI and Adm (#1041)
- Single crypto rand source (#851)
To disable compression for object with specific content-types, specify them
as a string array in blobstor section:
NEOFS_STORAGE_SHARD_N_BLOBSTOR_COMPRESSION_EXCLUDE_CONTENT_TYPES
. Use
asterisk as wildcard, e.g. video/*
.
0.27.3 - 2021-12-30
SetShardMode
RPC in control API, available in CLI (#1044)- Support of basic ACL constants without final flag in CLI (#1066)
neofs-adm
updates contracts in single tx (#1035)- Proxy contract arguments for deployment in
neofs-adm
(#1056)
0.27.2 - 2021-12-28
- Goroutine leak due to infinite response message await (neofs-api-go#366)
- Inconsistency in placement function (neofs-sdk-go#108)
ListShards
RPC in control API, available in CLI (#1043)- Epoch metric in Storage and Inner Ring applications (#1054)
- Some object replication related logs were moved to DEBUG level (#1052)
0.27.1 - 2021-12-20
- Big objects now flushed from WriteCache after write (#1028)
- WriteCache big object counter (#1022)
- Panic in the container estimation routing (#1016)
- Shutdown freeze in policer component (#1047)
- Shorthand
-g
for--generate-key
in NeoFS CLI (#1034) - Autocomplete generator command for neofs-adm (#1013)
- Max connection per host config value for neo-go client (#780)
- Sanity check of session token context in container service (#1045)
- CLI now checks NeoFS status code for exit code (#1039)
- New
Update
method signature for NNS contract in neofs-adm (#1038)
0.27.0 - 2021-12-09 - Sinjido (신지도, 薪智島)
NeoFS API v2.11.0 support with response status codes and storage subnetworks.
- CLI now opens LOCODE database in read-only mode for listing command (#958)
- Tombstone owner now is always set (#842)
- Node in relay mode does not require shard config anymore (#969)
- Alphabet nodes now ignore notary notifications with non-HALT main tx (#976)
- neofs-adm now prints version of NNS contract (#1014)
- Possible NPE in blobovnicza (#1007)
- More precise calculation of blobovnicza size (#915)
- Maintenance mode for Storage node (#922)
- Float values in Storage node config (#903)
- Status codes for NeoFS API Response messages (#961)
- Subnetwork support (#977, #973, #983, #974, #982, #979, #998, #995, #1001, #1004)
- Customized fee for named container registration (#1008)
- Alphabet contract number is not mandatory (#880)
- Alphabet nodes resign
AddPeer
request if it updates Storage node info (#938) - All applications now use client from neofs-sdk-go library (#966)
- Some shard configuration records were renamed, see upgrading section (#859)
Nonce
andVUB
values of notary transactions generated from notification hash (#844)- Non alphabet notary invocations now have 4 witnesses (#975)
- Object replication is now async and continuous (#965)
- NeoFS ADM updated for the neofs-contract v0.13.0 deploy (#984)
- Minimal TLS version is set to v1.2 (#878)
- Alphabet nodes now invoke
netmap.Register
to add node to the network map candidates in notary enabled environment (#1008)
NEOFS_IR_CONTRACTS_ALPHABET_AMOUNT
is not mandatory env anymore. If it
is not set, Inner Ring would try to read maximum from config and NNS contract.
However, that parameter still can be set in order to require the exact number
of contracts.
Shard configuration records were renamed:
refill_metabase
->resync_metabase
writecache.max_size
->writecache.max_object_size
writecache.mem_size
->writecache.memcache_capacity
writecache.size_limit
->writecache_capcity
blobstor.blobovnicza.opened_cache_size
->blobstor.blobovnicza.opened_cache_capacity
*.shallow_depth
->*.depth
*.shallow_width
->*.width
*.small_size_limit
->*.small_object_size
Specify storage subnetworks in NEOFS_NODE_SUBNET_ENTRIES
as the list of
integer numbers. To exit default subnet, use NEOFS_NODE_SUBNET_EXIT_ZERO=true
Specify fee for named container registration in notary disabled environment
with NEOFS_IR_FEE_NAMED_CONTAINER_REGISTER
.
0.26.1 - 2021-11-02
- Storage Node handles requests before its initialization is finished (#934)
- Release worker pools gracefully (#901)
- Metabase ignored containers of storage group and tombstone objects in listing (#945)
- CLI missed endpoint flag in
control netmap-snapshot
command (#942) - Write cache object persisting (#866)
- Quote symbol support in
.env
example tests (#935) - FSTree object counter (#821)
- neofs-adm prints contract version in
dump-hashes
command (#940) - Default values section in shard configuration (#877)
- neofs-adm downloads contracts directly from GitHub (#733)
- Use FSTree counter in write cache (#821)
- Calculate notary deposit
till
parameter depending on available deposit (#910) - Storage node returns session token error if attached token's private key is not available (#943)
- Refactor of NeoFS API client in inner ring (#946)
- LOCODE generator tries to find the closest continent if there are no exact match (#955)
You can specify default section in storage engine configuration. See example for more details.
0.26.0 - 2021-10-19 - Udo (우도, 牛島)
NeoFS API v2.10 support
- Check remote node public key in every response message (#645)
- Do not lose local container size estimations (#872)
- Compressed and uncompressed objects are always available for reading regardless of compression configuration (#868)
- Use request session token in ACL check of object.Put (#881)
- Parse URI in neofs-cli properly (#883)
- Parse minutes in LOCODE DB properly (#902)
- Remove expired tombstones (#884)
- Close all opened blobovniczas properly (#896)
- Do not accept objects with empty OwnerID field (#841)
- More logs in governance and policer components (#867, #882)
- Contract address getter in static blockchain clients (#627)
- Alphabet configuration option to disable governance sync (#869)
- neofs-lens app implementation (#791)
- Detailed comments in neofs-node config example (#858)
- Size suffixes support in neofs-node config (#857)
- Docs for neofs-adm (#906)
- Side chain block size duration and global NeoFS configuration in NetworkConfig response (#833)
- Support native container names (#889)
- Updated grpc to v1.41.0 (#860)
- Updated neo-go to v0.97.3 (#833)
- Updated neofs-api-go to v1.30.0
- Adopt neofs-adm for new contracts release (#835, #888)
- Adopt neofs-node for new contracts release (#905)
- SN and IR notary deposits are made dynamically depending on the Notary and GAS balances (#771)
- VMagent port in testnet config is now 443 (#908)
- Use per-shard worker pools for object.Put operations (#674)
- Renamed
--rpc-endpoint
CLI flag forcontrol command
to--endpoint
(#879)
- Global flags in CLI. Deleted useless flags from
accounting balance
command (#810). - Interactive mode in docker run command (#916)
Deleted NEOFS_IR_NOTARY_SIDE_DEPOSIT_AMOUNT
, NEOFS_IR_NOTARY_MAIN_DEPOSIT_AMOUNT
and NEOFS_IR_TIMERS_SIDE_NOTARY
, NEOFS_IR_TIMERS_MAIN_NOTARY
Inner Ring envs.
Deleted NEOFS_MORPH_NOTARY_DEPOSIT_AMOUNT
and NEOFS_MORPH_NOTARY_DEPOSIT_DURATION
Storage Node envs.
control
CLI command does not have --rpc-endpoint
/r
flag, use endpoint
instead.
0.25.1 - 2021-09-29
- Panic caused by missing Neo RPC endpoints in storage node's config (#863)
- Support of multiple Neo RPC endpoints in Inner Ring node (#792)
mainchain
section of storage node config is left unused by the application.
0.25.0 - 2021-09-27 - Mungapdo (문갑도, 文甲島)
- Work of a storage node with one Neo RPC endpoint instead of a list (#746)
- Lack of support for HEAD operation on the object write cache (#762)
- Storage node attribute parsing is stable now (#787)
- Inner Ring node now logs transaction hashes of Deposit and Withdraw events in LittleEndian encoding (#794)
- Storage node uses public keys of the remote nodes in placement traverser checks (#645)
- Extended ACL
Target
check of role and public keys is mutual exclusive now (#816) - neofs-adm supports update and deploy of neofs-contract v0.11.0 (#834, #836)
- Possible NPE in public key conversion (#848)
- Object assembly routine do not forward existing request instead of creating new one (#839)
- Shard now returns only physical stored objects for replication (#840)
- Support events from P2P notary pool
- Smart contract address auto negotiation with NNS contract (#736)
- Detailed logs for all data writing operations in storage engine (#790)
- Docker build and release targets in Makefile (#785)
- Metabase restore option in the shard config (#789)
- Write cache used size limit in bytes (#776)
- Reduce container creation delay via listening P2P notary pool (#519)
- Extended ACL table is not limited to 1KiB (#731)
- Netmap side chain client wrapper now has
TryNotary
option (#793) - Sticky bit is ignored in requests with
SYSTEM
role (#818) - Incomplete object put error now contains last RPC error (#778)
- Container service invalidates container cache on writing operations (#803)
- Improved write cache size counters (#776)
- Metabase returns
NotFound
error instead ofAlreadyRemoved
on GCMarked objects (#840) - Object service uses two routine pools for remote and local GET requests (#845)
- Dockerfile for AllInOne image moved to a separate repository (#796)
Added NEOFS_CONTRACTS_PROXY
env for Storage Node; mandatory in
notary enabled environments only. It should contain proxy contract's
scripthash in side chain.
Added NEOFS_MORPH_NOTARY_DEPOSIT_AMOUNT
and
NEOFS_MORPH_NOTARY_DEPOSIT_DURATION
envs for Storage Node, that
have default values, not required. They should contain notary deposit
amount and frequency(in blocks) respectively.
All side chain contract address config values are optional. If side chain contract address is not specified, then value gathered from NNS contract.
Added NEOFS_STORAGE_SHARD_<N>_WRITECACHE_SIZE_LIMIT
where <N>
is shard ID.
This is the size limit for the all write cache storages combined in bytes. Default
size limit is 1 GiB.
Added NEOFS_STORAGE_SHARD_<N>_REFILL_METABASE
bool flag where <N>
is shard
ID. This flag purges metabase instance at the application start and reinitialize
it with available objects from the blobstor.
Object service pool size now split into NEOFS_OBJECT_PUT_POOL_SIZE_REMOTE
and
NEOFS_OBJECT_PUT_POOL_SIZE_LOCAL
configuration records.
0.24.1 - 2021-09-07
- Storage and Inner Ring will not start until Neo RPC node will have the height of the latest processed block by the nodes (#795)
Specify path to the local state DB in Inner Ring node config with
NEOFS_IR_NODE_PERSISTENT_STATE_PATH
. Specify path to the local state DB in
Storage node config with NEOFS_NODE_PERSISTENT_STATE_PATH
.
0.24.0 - 2021-08-30 Anmyeondo (안면도, 安眠島)
- Linter warning messages (#766)
- Storage Node does not register itself in network in relay mode now (#761)
neofs-adm
fails when is called in a notary-disabled environment (#757)neofs-adm
usesneo-go
client's native NNS resolving method instead of the custom one (#756)- Node selects pseudo-random list of objects from metabase for replication (#715)
- Contract update support in
neofs-adm
utility (#748) - Container transferring support in
neofs-adm
utility (#755) - Storage Node's balance refilling support in
neofs-adm
utility (#758) - Support
COMMON_PREFIX
filter for object attributes in storage engine andneofs-cli
(#760) - Node's and IR's notary status debug message on startup (#758)
- Go
1.17
unit tests in CI (#766) - Supporting all eACL filter fields from the specification (#768)
- Cache for Container service's read operations (#676)
neofs-api-go
library tov1.29.0
- Unused
DB_SIZE
parameter of writecache (#773)
Storage Node does not read unused NEOFS_STORAGE_SHARD_XXX_WRITECACHE_DB_SIZE
config parameter anymore.
0.23.1 - 2021-08-06
N3 Mainnet launch release with minor fixes.
- Initial version of
neofs-adm
tool for fast side chain deployment and management in private installations - Notary support auto negotiation (#709)
- Option to disable side chain cache in Storage node (#704)
- Escape symbols in Storage node attributes (#700)
- Updated neo-go to v0.97.1
- Updated multiaddr lib to v0.4.0 with native TLS protocol support (#661)
- Default file permission in storage engine is 660 (#646)
- Container size estimation routine now aggregates values by cid-epoch tuple (#723)
- Storage engine always creates executable dirs (#646)
- GC routines in storage engine shards shutdown gracefully (#745)
- Handle context shutdown at NeoFS multi client group address switching (#737)
- Scope for main chain invocations from Inner Ring nodes (#751)
Added NEOFS_MORPH_DISABLE_CACHE
env. If true
, none of
the eACL
/netmap
/container
RPC responses cached.
Remove WITHOUT_NOTARY
and WITHOUT_MAIN_NOTARY
records from Inner Ring node
config. Notary support is now auto negotiated.
0.23.0 - 2021-07-23 - Wando (완도, 莞島)
Improved stability for notary disabled environment.
- Alphabet wallets generation command in neofs-adm (#684)
- Initial epoch timer tick synchronization at Inner Ring node startup (#679)
--address
flag is optional in NeoFS CLI (#656)- Notary subsystem now logs
ValidUntilBlock
(#677) - Updated neo-go to v0.96.1
- Storage Node configuration example contains usable parameters (#699)
- Do not use side chain RoleManagement contract as source of Inner Ring list when notary disabled in side chain (#672)
- Alphabet list transition is even more effective (#697)
- Inner Ring node does not require proxy and processing contracts if notary disabled (#701, #714)
To upgrade Storage node or Inner Ring node from v0.22.3, you don't need to change configuration files. Make sure, that NEO RPC nodes, specified in config, are connected to N3 RC4 (Testnet) network.
0.22.3 - 2021-07-13
- Support binary eACL format in container CLI command (#650).
- Dockerfile for neofs-adm utility (#680).
- All docker files moved to
.docker
dir (#682).
- Do not require MainNet attributes in "Without MainNet" mode (#663).
- Stable alphabet list merge in Inner Ring governance (#670).
- User can specify only wallet section without node key (#690).
- Log keys in hex format in reputation errors (#693).
- Connections leak and reduced amount of connection overall (#692).
- Debug output of public key in Inner Ring log (#689).
0.22.2 - 2021-07-07
Updated broken version of NeoFS API Go.
- NeoFS API Go: v1.28.3.
0.22.1 - 2021-07-07
GetCandidates
method to morph client wrapper (#647).- All-in-One Docker image that contains all NeoFS related binaries (#662).
--version
flag to Storage Node binary (#664).
- Do not check NeoFS version in
LocalNodeInfo
requests andPut
container operations;v2.7.0
is genesis version of NeoFS (#660). - All error calls of CLI return
1
exit code (#657).
- Do not use multisignature for audit operations (#658).
- Skip audit for containers without Storage Groups (#659).
- NeoFS API Go: v1.28.2.
0.22.0 - 2021-06-29 - Muuido (무의도, 舞衣島)
Storage nodes with a group of network endpoints.
- Support of Neo wallet credentials in CLI (#610).
- More reliable approval of trust value by IR (#500).
- Storage node's ability to announce and serve on multiple network addresses (#607).
- Validation of network addresses of netmap candidates in IR (#557).
- Control service with healthcheck RPC in IR and CLI support (#414).
- Approval of objects with duplicate attribute keys or empty values (#633).
- Approval of containers with duplicate attribute keys or empty values (#634).
- Default path for CLI config (#626).
version
command replaced with--version
flag in CLI (#571).- Command usage text is not printed on errors in CLI (#623).
netmap snapshot
command replaced withcontrol netmap-snapshot
one in CLI (#651).- IR does not include nodes with LOCODE derived attributes to the network map (#412).
- IR uses morph/client packages for contract invocations (#496).
- Writecache decreases local size when objects are flushed (#568).
- IR can override global configuration values only in debug build (#363).
- Neo Go: v0.95.3.
- NeoFS API Go: v1.28.0.
- protobuf: v1.26.0.
- uuid: v1.2.0.
- compress: v1.13.1.
- base58: v1.2.0.
- multiaddr: v0.3.2.
- ants: v2.4.0.
- orb: v0.2.2.
- prometheus: v1.11.0.
- testify: v1.7.0.
- atomic: v1.8.0.
- zap: v1.17.0.
- grpc: v1.38.0.
- cast: v1.3.1.
- cobra: 1.1.3.
- viper: v1.8.1.
0.21.1 - 2021-06-10
- Session token lifetime check (#589).
- Payload size check on the relayed objects (#580).
- VMagent to collect metrics from testnet storage image
- Updated neofs-api-go to v1.27.1 release.
0.21.0 - 2021-06-03 - Seongmodo (석모도, 席毛島)
Session token support in container service, refactored config in storage node, TLS support on gRPC servers.
- ACL service traverses over all RequestMetaHeader chain to find bearer and session tokens (#548).
- Object service correctly resends complete objects without attached session token (#501).
- Inner ring processes
neofs.Bind
andneofs.Unbind
notifications (#556). - Client cache now gracefully closes all available connections (#567).
- Session token support in container service for
container.Put
,container.Delete
andcontainer.SetEACL
operations. - Session token support in container and sign command of NeoFS CLI.
- TLS encryption support of gRPC service in storage node.
- Inner ring listens RoleManagement contract notifications to start governance update earlier.
- Inner ring processes extended ACL changes.
- Inner ring makes signature checks of containers and extended ACLs.
- Refactored config of storage node.
- Static clients from
morph/client
do not process notary invocations explicitly anymore. Now notary support specified at static client creation. - Updated neo-go to v0.95.1 release.
- Updated neofs-api-go to v1.27.0 release.
- Container policy parser moved to neofs-sdk-go repository.
- Invoke package from inner ring.
0.20.0 - 2021-05-21 - Dolsando (돌산도, 突山島)
NeoFS is N3 RC2 compatible.
- Calculations in EigenTrust algorithm (#527).
- NPE at object service request forwarding (#532, #543, #544).
- FSTree iterations in blobstor (#541).
- Inhume operation in storage engine (#546).
- Optional endpoint to main chain in storage app.
- Client for NeoFSID contract.
- Reorganized and removed plenty of application configuration records (#510, #511, #512, #514).
- Nodes do not resolve remote addresses manually.
- Presets for basic ACL in CLI are
private
,public-read
andpublic-read-write
now. - Updated neo-go to v0.95.0 release.
- Updated neofs-api-go to v1.26.1 release.
- Updated go-multiaddr to v0.3.1 release.
- Unused external GC workers (GC is part of the shard in storage engine now).
- Unused worker pools for object service in storage app.
pkg/errors
dependency (stdlib errors used instead).
0.19.0 - 2021-05-07 - Daecheongdo (대청도, 大靑島)
Storage nodes exchange, calculate, aggregate and store reputation information in reputation contract. Inner ring nodes support workflows with and without notary subsystem in chains.
- Build with go1.16.
- Notary deposits last more blocks.
- TX hashes now prints in little endian in logs.
- Metabase deletes graves regardless of the presence of objects.
- SplitInfo error created from all shards instead of first matched shard.
- Possible deadlock at cache eviction in blobovnicza.
- Storage node does not send rebootstrap messages after it went offline.
- Reputation subsystem that includes reputation collection, exchange, calculation and storage components.
- Notary and non notary workflows in inner ring.
- Audit fee transfer for inner ring nodes that performed audit.
- Unified encoding for all side chain payment details.
- New write cache implementation for storage engine.
- NEP-2 and NEP-6 key formats in CLI.
- Metabase puts data in batches.
- Network related new epoch handlers in storage node executed asynchronously.
- Storage node gets epoch duration from global config.
- Storage node resign and resend Search, Range, Head, Get requests of object service without modification.
- Inner ring does not sync side chain validators in single chain deployment.
- neo-go updated to v0.94.1
- neofs-api-go updated to v1.26.0
0.18.0 - 2021-03-26 - Yeongheungdo (영흥도, 靈興島)
NeoFS operates with updated governance model. Alphabet keys and inner ring keys
are accessed from side chain committee and RoleManagement
contract. Each epoch
alphabet keys are synchronized with main chain.
- Metabase does not store object payloads anymore.
- TTLNetCache now always evict data after a timeout.
- NeoFS CLI keyer could misinterpret hex value as base58.
- Local trust controller in storage node.
- Governance processor in inner ring that synchronizes list of alphabet keys.
- Inner ring keys and alphabet keys are managed separately by inner ring and
gathered from committee and
RoleManagement
contract.
0.17.0 - 2021-03-22 - Jebudo (제부도, 濟扶島)
Notary contract support, updated neofs-api-go with raw client, some performance tweaks with extra caches and enhanced metrics.
- Notary contract support.
- Cache for morph client.
- Metrics for object service and storage engine.
- Makefile target for fast and dirty docker images.
- GAS threshold value in inner ring GAS transfers.
- RPC client cache now re-used per address instead of (address+key) tuple.
- Updated neofs-api-go version to v1.25.0 with raw client support.
- Updated neo-go to testnet compatible v0.94.0 version.
0.16.0 - 2021-02-26 - Ganghwado (강화도, 江華島)
Garbage collector is now running inside storage engine. It is accessed
via Control API, from policer
component and through object expiration
scrubbers.
Inner ring configuration now supports single chain mode with any number of alphabet contracts.
Storage node now supports NetworkInfo method in netmap service.
- Storage engine now inhumes object only in single shard.
- Metabase correctly removes parent data at batched children delete.
- Metabase does not accept tombstone on tombstone records in graveyard anymore.
- Object service now rejects expired objects.
- CLI now correctly attaches bearer token in storage group operations.
- Container policy parser now works with strings in filter key.
- Policer component now removes redundant objects locally.
- GC job that monitors expired objects.
- GC job that removes marked objects from physical storage.
- Batch inhume operations in metabase, shard and engine.
control.DropObjects
RPC method.- Support of
netmap.NetworkInfo
RPC method. - Single chain inner ring configuration.
UN-LOCODE
node attribute now optional.engine.Delete
method now marks object to be removed by GC.- Inner ring node supports any number of alphabet contracts from 1 up to 40.
0.15.0 - 2021-02-12 - Seonyudo (선유도, 仙遊島)
NeoFS nodes are now preview5-compatible.
IR nodes are now engaged in the distribution of funds to the storage nodes: for the passed audit and for the amount of stored information. All timers of the IR nodes related to the generation and processing of global system events are decoupled from astronomical time, and are measured in the number of blockchain blocks.
For the geographic positioning of storage nodes, a global NeoFS location database is now used, the key in which is a UN/LOCODE, and the base itself is generated on the basis of the UN/LOCODE and OpenFlights databases.
- Timers with time in blocks of the chain.
- Subscriptions to new blocks in blockchain event
Listener
. - Tracking the volume of stored information by containers in the storage engine and an external interface for obtaining this data.
TransferX
operation in sidechain client.- Calculators of audit and basic settlements.
- Distribution of funds to storage nodes for audit and for the amount of stored information (settlement processors of IR).
- NeoFS API
Container.AnnounceUsedSpace
RPC service. - Exchange of information about container volumes between storage nodes controlled by IR through sidechain notifications.
- Support of new search matchers (
STRING_NOT_EQUAL
,NOT_PRESENT
). - Functional for the formation of NeoFS location database.
- CLI commands for generating and reading the location database.
- Checking the locode attribute and generating geographic attributes for candidates for a network map on IR side.
- Verification of the eACL signature when checking Object ACL rules.
- Overwriting the local configuration of node attributes when updating the network map.
- Ignoring the X-headers CLI
storagegroup
commands. - Inability to attach bearer token in CLI
storagegroup
commands.
- Units of epoch and emit IR intervals.
- Query language in CLI
object search
command.
- neo-go v0.93.0.
- neofs-api-go v1.23.0.
0.14.3 - 2021-01-27
- Upload of objects bigger than single gRPC message.
- Inconsistent placement issues (#347, #349).
- Bug when ACL request classifier failed to classify
RoleOthers
in first epoch.
- Debug section in readme file for testnet configuration.
- Docker images now based on alpine and contain shell.
- Node bootstraps with active state in node info structure.
0.14.2 - 2021-01-20
Testnet4 related bugfixes.
- Default values for blobovnicza object size limit and blobstor small object size are not zero.
- Various storage engine log messages.
- Bug when inner ring node ignored bootstrap messages from restarted storage nodes.
- Timeout for reading boltDB files at storage node initialization.
- Increased default extra GAS fee for contract invocations at inner ring.
0.14.1 - 2021-01-15
- Inner ring node could not confirm
netmap.updateState
notification. object.RangeHash
method ignored salt values.
- Control API service for storage node with health check, netmap and node state relate methods.
- Object service now looks to previous epoch containers.
- Possibility to configure up multiple NEO RPC endpoints in storage node.
- Storage node shuts down if event producer RPC node is down.
0.14.0 - 2020-12-30 - Yeouido (여의도, 汝矣島)
Preview4 compatible NeoFS nodes with data audit.
- Data audit routines in inner ring nodes.
- Storage group operations in CLI (
neofs-cli storagegroup --help
).
- Loss of request X-headers during the forwarding in Object service.
- Updated neo-go version for preview4 compatibility.
- neo-go v0.92.0.
- neofs-api-go v1.22.0.
0.13.2 - 2020-12-24
Support changes from neofs-api-go v1.21.2 release.
- Support of request X-Headers in CLI commands.
- Use updated API of container library.
0.13.1 - 2020-12-18
Fixes based on Modo release testing results.
- Verification of chain element addresses during object assembling.
- Processing of filters by non-address fields in Object Range/RangeHash/Delete.
Graveyard
andToMoveIt
bucket names in metabase.- Double formation of the parent title when transforming an object.
- Loss of session token during Object Put.
- Potential generating Range requests inside Get request execution context.
0.13.0 - 2020-12-15 - Modo (모도, 茅島)
Implementation of a local object storage engine. Adaptation of the object service work scheme for the engine.
- Object format after transformations.
- Handling of object operations.
- Local storage components:
Engine
,Shard
,BlobStor
,Metabase
,Blobovnicza
. - Support of voting for sidechain governance in IR node.
Raw
flag support in Object Get/Head/GetRange CLI commands.
- Ignoring object address from session token in eACL validation.
0.12.1 - 2020-11-25
Bugfixes and small performance improvements.
- Routine leak by adding SDK client cache. (#184)
- Variety of ACL bugs. (#180, #190, #209)
- Policer tried to replicate virtual objects. (#182)
- Search queries with object ID field. (#177)
- Bug with extended ACL signature check in neofs-cli (#206)
- More debug logs in object service.
- Dial timeouts in object service config (
NEOFS_OBJECT_PUT_DIAL_TIMEOUT=5s
)
- Routine pools in object service are non-blocking now.
- Container service now returns error if extended ACL is not set.
0.12.0 - 2020-11-17
NeoFS-API v2.0 support and updated brand-new storage node application.
- SetConfig method invocation of netmap contract. (#147)
- Balance response overflow. (#122)
- Gas emission routine in inner ring nodes.
- GRPC reflection service. (
NEOFS_GRPC_ENABLE_REFLECT_SERVICE=true
) - New netmap query language parser.
- Storage node application rebuilt from scratch.
- CLI supports accounting, object and container related operations.
- Inner ring node shutdowns on neo RPC node connection drop.
- Updated to preview4 compatible neo-go version.
0.11.0 - 2020-07-23
- Inner ring application to repository.
- Inner ring epoch processor.
- Inner ring asset processor for GAS deposit and withdraw.
- The structure of source code tree.
First public review release.