node: Invalidate container cache on PutSuccess event, v0.36 fix #273

Merged
fyrchik merged 1 commits from dstepanov-yadro/frostfs-node:fix/container_not_found_support into support/v0.36 2023-07-26 21:07:57 +00:00

For example: frostfs-cli creates container and makes polling
GetContainer requests. These requests go through container cache,
so not found error stores in container cache.
So container cache can contain not found error when PutSuccess event received.

Signed-off-by: Dmitrii Stepanov d.stepanov@yadro.com

For example: frostfs-cli creates container and makes polling GetContainer requests. These requests go through container cache, so not found error stores in container cache. So container cache can contain not found error when PutSuccess event received. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
dstepanov-yadro added 1 commit 2023-04-20 14:39:27 +00:00
ci/woodpecker/pr/pre-commit Pipeline was successful Details
bcf3f0f517
[#231] node: Invalidate container cache on PutSuccess event
For example: frostfs-cli creates container and makes polling
GetContainer requests. These requests go through container cache,
so not found error stores in container cache.
So container cache can contain not found error when PutSuccess event received.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
dstepanov-yadro requested review from storage-core-committers 2023-04-20 14:39:33 +00:00
dstepanov-yadro requested review from storage-core-developers 2023-04-20 14:39:33 +00:00
fyrchik approved these changes 2023-04-21 09:35:04 +00:00
JuliaKovshova approved these changes 2023-04-21 10:03:43 +00:00
acid-ant approved these changes 2023-04-21 12:40:56 +00:00
dstepanov-yadro added 1 commit 2023-04-25 13:53:35 +00:00
ci/woodpecker/pr/pre-commit Pipeline was successful Details
ci/woodpecker/push/pre-commit Pipeline was successful Details
0fe5e34fb0
[#231] node: Fix race condition in TTL cache
Use key locker to lock by key.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
fyrchik approved these changes 2023-04-25 13:56:49 +00:00
fyrchik merged commit 0fe5e34fb0 into support/v0.36 2023-04-25 13:56:55 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No Milestone
No Assignees
4 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#273
There is no content yet.