Incorrect behavior of 'frostfsid' and 'APE' cache #1593

Closed
opened 2025-01-09 17:29:10 +00:00 by achuprov · 0 comments
Member

Steps to Reproduce (for bugs)

  1. Set cache_ttl: -1s
  2. Set up dev-env, do not add frostfsid subject
  3. frostfs-cli container create --rpc-endpoint=node1
    put container rpc error: status: code = 1024 message = frostfs error: chain/client: contract execution finished with state FAULT; exception: at instruction 3172 (THROW): unhandled exception: "subject not found"
  4. frostfs-adm morph frostfsid create-subject
  5. frostfs-cli container create --rpc-endpoint=node1
    put container rpc error: status: code = 1024 message = frostfs error: chain/client: contract execution finished with state FAULT; exception: at instruction 3172 (THROW): unhandled exception: "subject not found"
  6. frostfs-cli container create --rpc-endpoint=node2
    CID: 84tvBFCQR2FBFbuNTanGdC3hmnapCcziAfNTk614T6av

Note:

Resetting the subject state is only possible by restarting the node.

Your Environment

dev-env

## Steps to Reproduce (for bugs) 0. Set [cache_ttl](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/d7fcc5ce304c0c8e971c4edccf778cf6b8693d52/config/example/node.yaml#L82): -1s 1. Set up dev-env, do not add frostfsid subject 2. frostfs-cli container create --rpc-endpoint=node1 `put container rpc error: status: code = 1024 message = frostfs error: chain/client: contract execution finished with state FAULT; exception: at instruction 3172 (THROW): unhandled exception: "subject not found"` 3. frostfs-adm morph frostfsid create-subject 4. frostfs-cli container create --rpc-endpoint=node1 `put container rpc error: status: code = 1024 message = frostfs error: chain/client: contract execution finished with state FAULT; exception: at instruction 3172 (THROW): unhandled exception: "subject not found"` 5. frostfs-cli container create --rpc-endpoint=node2 `CID: 84tvBFCQR2FBFbuNTanGdC3hmnapCcziAfNTk614T6av` ## Note: Resetting the subject state is only possible by restarting the node. ## Your Environment dev-env
achuprov added the
bug
triage
labels 2025-01-09 17:29:10 +00:00
achuprov was assigned by fyrchik 2025-01-10 07:46:51 +00:00
fyrchik added
frostfs-node
and removed
triage
labels 2025-01-10 08:12:36 +00:00
achuprov changed title from Incorrect behavior of 'frostfsid' cache to Incorrect behavior of 'frostfsid' and 'APEChainCache' cache 2025-01-16 12:20:33 +00:00
achuprov reopened this issue 2025-01-16 12:20:46 +00:00
achuprov changed title from Incorrect behavior of 'frostfsid' and 'APEChainCache' cache to Incorrect behavior of 'frostfsid' and 'APE' cache 2025-01-16 12:21:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1593
No description provided.