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

1 commit

Author SHA1 Message Date
220bdcb575
[#185] native: Issue session token on the previous epoch
All checks were successful
Tests and linters / Lint (pull_request) Successful in 3m43s
DCO action / DCO (pull_request) Successful in 6m44s
Tests and linters / Tests with -race (pull_request) Successful in 8m22s
Tests and linters / Tests (pull_request) Successful in 8m54s
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>
2024-12-19 15:01:33 +03:00