Lock objects cannot be replicated #177

Closed
opened 2023-03-27 06:23:34 +00:00 by anikeev-yadro · 2 comments
Member

Expected Behavior

Lock objects can be replicated

Current Behavior

Lock objects cannot be replicated

Steps to Reproduce (for bugs)

1.Create lock object

[2023-03-24T02:46:50.152Z] 2023-03-24 02:45:55 [INFO] Command: frostfs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.NswnTGTRV7/frostfs-testcases/wallet_config.yml object lock --rpc-endpoint '172.26.160.231:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.NswnTGTRV7/frostfs-testcases/TemporaryDir/9062c5cb-69e4-4f16-af0a-a8e94100d0c7.json' --cid 'DojBGtcUAw6E5hmPEN21YKycuuFzNPBNWcHUSD3ibrD3' --oid 'FKPZUXQahZmuiM9CLZxkWR7RuxZ3WAkq4m5QZY3YVn91' --lifetime 5
[2023-03-24T02:46:50.152Z] Success:
[2023-03-24T02:46:50.152Z] return code: 0 
[2023-03-24T02:46:50.152Z] Output: Lock object ID: As9eduPMPrDvyTqRAeBnhRrsVAmpwskokGs4sJs5rAvv
[2023-03-24T02:46:50.152Z] Objects successfully locked.

2.After object has been expired I see for 7 hours a cycled errors in log

Mar 24 09:07:15 az frostfs-node[13362]: 2023-03-24T09:07:15.512Z        error        replicator/process.go:62        could not replicate object        {"component": "Object Replicator", "node": "020662e0d1e9baa5ac6690573fb6652c5fefcfc9a355e5375bba42fcb8d301a390", "object": "DojBGtcUAw6E5hmPEN21YKycuuFzNPBNWcHUSD3ibrD3/As9eduPMPrDvyTqRAeBnhRrsVAmpwskokGs4sJs5rAvv", "error": "(*putsvc.RemoteSender) could not send object: (*putsvc.remoteTarget) could not put object to [/ip4/172.26.160.43/tcp/8080]: write object via client: status: code = 1024 message = object has expired"}

Version

0.0.1-265-g34329d67

Your Environment

Virtual

## Expected Behavior Lock objects can be replicated ## Current Behavior Lock objects cannot be replicated ## Steps to Reproduce (for bugs) 1.Create lock object ``` [2023-03-24T02:46:50.152Z] 2023-03-24 02:45:55 [INFO] Command: frostfs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.NswnTGTRV7/frostfs-testcases/wallet_config.yml object lock --rpc-endpoint '172.26.160.231:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.NswnTGTRV7/frostfs-testcases/TemporaryDir/9062c5cb-69e4-4f16-af0a-a8e94100d0c7.json' --cid 'DojBGtcUAw6E5hmPEN21YKycuuFzNPBNWcHUSD3ibrD3' --oid 'FKPZUXQahZmuiM9CLZxkWR7RuxZ3WAkq4m5QZY3YVn91' --lifetime 5 [2023-03-24T02:46:50.152Z] Success: [2023-03-24T02:46:50.152Z] return code: 0 [2023-03-24T02:46:50.152Z] Output: Lock object ID: As9eduPMPrDvyTqRAeBnhRrsVAmpwskokGs4sJs5rAvv [2023-03-24T02:46:50.152Z] Objects successfully locked. ``` 2.After object has been expired I see for 7 hours a cycled errors in log ``` Mar 24 09:07:15 az frostfs-node[13362]: 2023-03-24T09:07:15.512Z error replicator/process.go:62 could not replicate object {"component": "Object Replicator", "node": "020662e0d1e9baa5ac6690573fb6652c5fefcfc9a355e5375bba42fcb8d301a390", "object": "DojBGtcUAw6E5hmPEN21YKycuuFzNPBNWcHUSD3ibrD3/As9eduPMPrDvyTqRAeBnhRrsVAmpwskokGs4sJs5rAvv", "error": "(*putsvc.RemoteSender) could not send object: (*putsvc.remoteTarget) could not put object to [/ip4/172.26.160.43/tcp/8080]: write object via client: status: code = 1024 message = object has expired"} ``` ## Version ``` 0.0.1-265-g34329d67 ``` ## Your Environment Virtual
anikeev-yadro added the
triage
label 2023-03-27 06:23:34 +00:00
Owner

Related #138

Related https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/138
carpawell was assigned by fyrchik 2023-03-27 09:44:43 +00:00
fyrchik added this to the v0.37.0 milestone 2023-04-11 08:21:56 +00:00
fyrchik added the
frostfs-node
P1
labels 2023-04-14 09:11:32 +00:00
Owner

Should be closed after recent GC improvements

Should be closed after recent GC improvements
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#177
No description provided.