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

Merged
fyrchik merged 1 commit 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
[#231] node: Invalidate container cache on PutSuccess event
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
bcf3f0f517
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
[#231] node: Fix race condition in TTL cache
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/push/pre-commit Pipeline was successful
0fe5e34fb0
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 project
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
No description provided.