Skip to content

ID mismatch error for some mainnet objects #3505

@roman-khimov

Description

@roman-khimov

Expected Behavior

Object get/head working correctly.

Current Behavior

$ neofs-cli --version
NeoFS CLI
Version: 0.44.2 
GoVersion: go1.22.10
$ neofs-cli object head -r grpcs://st4.storage.fs.neo.org:8082 --cid mwa6Fbia757WvezeeaLfvDsA7hMhdv7bDwN34hBhc97 --oid 5vY7ApjJSf9pUynQ33yHRPPXKBE3CQV2HtwfY9Mza4Wa
ID: 5vY7ApjJSf9pUynQ33yHRPPXKBE3CQV2HtwfY9Mza4Wa
CID: mwa6Fbia757WvezeeaLfvDsA7hMhdv7bDwN34hBhc97
Owner: NbiaiHXEZErpUkSWBL3e9umASdCswXCkeu
CreatedAt: 5473
Size: 17052735
HomoHash: 2a4f8e8641c85a67b18e4cea160b4d1b02f210f7c3f106ae294e35d7a8bbda0d695a8b8b61d31eaa1f9c2fbe533715f033b4093c084cff60549f5c383adcbf79
Checksum: d2d94eb0ba70df70680ca6d540351ef73deac79b9d951b5b7ca6a6238bf4271f
Type: REGULAR
Attributes:
  FileName=swings.jpg
  Timestamp=1647866133 (2022-03-21 15:35:33 +0300 MSK)
ID signature:
  public key: 034b6d79aa13d4f2e4080cb7643375807a5d0f617e9ee6f7f8ba590f1def307145
  signature: 04037e152a122e7650853926c50acae8a6f4277f7f8a4373559626c22776324c02c12d155e6fa44a0593ab7f47b34490bef4d337e1e2fc9a9cba50ce9c5ca6d77c
$ ./bin/neofs-cli --version
NeoFS CLI
Version: 0.48.0-20-gef9fbd4f-dirty 
GoVersion: go1.24.4
$ ./bin/neofs-cli object head -r grpcs://st4.storage.fs.neo.org:8082 --cid mwa6Fbia757WvezeeaLfvDsA7hMhdv7bDwN34hBhc97 --oid 5vY7ApjJSf9pUynQ33yHRPPXKBE3CQV2HtwfY9Mza4Wa
rpc error: read object header via client: received header mismatches ID

Possible Solution

Need to find the root cause, maybe something like #3359 fix is relevant here as well.

Steps to Reproduce (for bugs)

Above.

Context

Mainnet.

Regression

Yes (ID wasn't checked before 0.48.0), but it shouldn't be. This mismatch suggests that header format has changed in some incompatible way. Or it was calculated incorrectly at some point and stored this way (which is rather strange as well).

Your Environment

  • Version used: 0.48.1
  • Server setup and configuration: mainnet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I4No visible changesS4RoutineU1Critically important to resolve quicklybugSomething isn't workingneofs-cliNeoFS CLI application issuesneofs-storageStorage node application issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions