Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object not found in object head of existiong object #2975

Closed
AliceInHunterland opened this issue Oct 21, 2024 · 1 comment
Closed

object not found in object head of existiong object #2975

AliceInHunterland opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working I4 No visible changes S4 Routine U2 Seriously planned
Milestone

Comments

@AliceInHunterland
Copy link
Contributor

Expected Behavior

if I have put an object, then fount oid using search I am able to head it.

Current Behavior

no deletion was performed in this container.

(base) ekaterinapavlova@MacBook-Air-4 neofs-node %  ./bin/neofs-cli object search -r st1.storage.fs.neo.org:8080 -w /Users/ekaterinapavlova/Workplace/neo-go/panelwallet1.json --cid 5oAvDsnVcpGEf8KM4nxNB52wqZASjbr4CSszbW9iseCk --filters 'block EQ 305697'
Found 2 objects.
HWfKPnVqPGXob1gS12a8X1sHb6go8JszPVF8qkkfhjkw
jUUCx698dAQF6kBEqesE55RxQZH7EQqd91JJVRgn45v
(base) ekaterinapavlova@MacBook-Air-4 neofs-node %  ./bin/neofs-cli object head -r st1.storage.fs.neo.org:8080 -w /Users/ekaterinapavlova/Workplace/neo-go/panelwallet1.json --cid 5oAvDsnVcpGEf8KM4nxNB52wqZASjbr4CSszbW9iseCk --oid jUUCx698dAQF6kBEqesE55RxQZH7EQqd91JJVRgn45v
rpc error: read object header via client: status: code = 2049 message = object not found
(base) ekaterinapavlova@MacBook-Air-4 neofs-node %  ./bin/neofs-cli object get -r st1.storage.fs.neo.org:8080 -w /Users/ekaterinapavlova/Workplace/neo-go/panelwallet1.json --cid 5oAvDsnVcpGEf8KM4nxNB52wqZASjbr4CSszbW9iseCk --oid jUUCx698dAQF6kBEqesE55RxQZH7EQqd91JJVRgn45v
*empty result*

(base) ekaterinapavlova@MacBook-Air-4 neofs-node %  ./bin/neofs-cli object get -r st1.storage.fs.neo.org:8080 -w /Users/ekaterinapavlova/Workplace/neo-go/panelwallet1.json --cid 5oAvDsnVcpGEf8KM4nxNB52wqZASjbr4CSszbW9iseCk --oid jUUCx698dAQF6kBEqesE55RxQZH7EQqd91JJVRgn45v --binary

"
 
�t5B��B�P`�e�c��.!G��A.��g
!؞PJ.�A
U���bb�>���(����#ƌ�X��ж���{��[Tp���
                                   �2��                                                                                                                                                             "
 GB�Ƣ���$�u]��{�(�dĖ��[0�^��A�}
                               5�\�     ���y�L�o�mo㴛�n~�ϋ 2 ��B�����șo�$'�A�d��L���R�UB@R
block305697R

primary0RH
hash@f78567ab36bff7f2c2b32e2fae37c1e719ec27b60a9eb6e6d9a742367a2bb0ffRL                                                                                                                             prevHash@552c90443548269be94730a3acfd545daad4b26fdab86eb5a68a7a0d3116611cR
1632697274669%      

Context

I uploaded an object with an empty payload and now I want to head it.

@AliceInHunterland AliceInHunterland added bug Something isn't working U2 Seriously planned S4 Routine I4 No visible changes labels Oct 21, 2024
@roman-khimov roman-khimov added this to the v0.44.0 milestone Oct 22, 2024
carpawell added a commit that referenced this issue Nov 25, 2024
If ants pool is busy and cannot take task, early `return` without `wg.Wait()`
leads to `iterateNodesForObject`'s `return` and all the buffers for binary
replication from now may be reused while are still in use by the other routines
inside the pool. Wait for WG before any `return` is called. Closes #2978, #2988,
#2975, #2971.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Nov 25, 2024
If ants pool is busy and cannot take task, early `return` without `wg.Wait()`
leads to `iterateNodesForObject`'s `return` and all the buffers for binary
replication from now may be reused while are still in use by the other routines
inside the pool. Wait for WG before any `return` is called. Closes #2978,
closes #2988, closes #2975, closes #2971.

Signed-off-by: Pavel Karpy <[email protected]>
@roman-khimov
Copy link
Member

This one is the only I'm not sure about wrt #3027. The behavior manifested here is rather strange and --binary only affects client side (interpreting the result). At the same time, we've not seen anything like that after patching 43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I4 No visible changes S4 Routine U2 Seriously planned
Projects
None yet
Development

No branches or pull requests

3 participants