native: Issue session token on the previous epoch #185

Merged
fyrchik merged 1 commit from fyrchik/xk6-frostfs:fix-native-epoch into master 2024-12-19 12:37:24 +00:00
Owner

Consider 2 nodes, A and B. Because of the race condition, A has epoch N,
and B has (still) epoch N-1. Creating session token and putting object
on the node A will set issuing epoch to N, thus failing validation on
the node B.

Signed-off-by: Evgenii Stratonikov e.stratonikov@yadro.com

Consider 2 nodes, A and B. Because of the race condition, A has epoch N, and B has (still) epoch N-1. Creating session token and putting object on the node A will set issuing epoch to N, thus failing validation on the node B. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
fyrchik added 1 commit 2024-12-19 12:01:17 +00:00
native: Issue session token on the previous epoch
Some checks failed
Tests and linters / Lint (pull_request) Successful in 4m16s
DCO action / DCO (pull_request) Failing after 6m56s
Tests and linters / Tests (pull_request) Successful in 8m36s
Tests and linters / Tests with -race (pull_request) Successful in 9m4s
a7ce86947a
Consider 2 nodes, A and B. Because of the race condition, A has epoch N,
and B has (still) epoch N-1. Creating session token and putting object
on the node A will set issuing epoch to N, thus failing validation on
the node B.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
fyrchik requested review from storage-core-committers 2024-12-19 12:01:17 +00:00
fyrchik requested review from storage-core-developers 2024-12-19 12:01:17 +00:00
fyrchik requested review from storage-services-committers 2024-12-19 12:01:17 +00:00
fyrchik requested review from storage-services-developers 2024-12-19 12:01:17 +00:00
fyrchik force-pushed fix-native-epoch from a7ce86947a to 220bdcb575 2024-12-19 12:01:39 +00:00 Compare
aarifullin approved these changes 2024-12-19 12:09:25 +00:00
achuprov approved these changes 2024-12-19 12:36:19 +00:00
fyrchik merged commit 14f26e47dc into master 2024-12-19 12:37:24 +00:00
fyrchik deleted branch fix-native-epoch 2024-12-19 12:37:27 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-committers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
3 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/xk6-frostfs#185
No description provided.