-
Notifications
You must be signed in to change notification settings - Fork 8.9k
bugfix: resolve issue in Raft model a follower's crash may lead to the continued use of expired tokens #6925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… client to continued use of expired tokens
| - [[#6899](https://github.com/apache/incubator-seata/pull/6899)] 修复file.conf打包后的读取 | ||
| - [[#6890](https://github.com/apache/incubator-seata/pull/6890)] 修复saga设计json转标准json过程中: 子状态机补偿节点无法被识别 | ||
| - [[#6907](https://github.com/apache/incubator-seata/pull/6907)] 修复Codecov未生成报告的问题 | ||
| - [[#6925](https://github.com/apache/incubator-seata/pull/6925)] 修复Raft模式下,Follower崩溃可能导致Client继续使用过期令牌的问题 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最下方的开发者信息也需要登记
The developer information at the bottom also requires registration.
| - [[#6899](https://github.com/apache/incubator-seata/pull/6899)] fix file.conf read failed after package | ||
| - [[#6890](https://github.com/apache/incubator-seata/pull/6890)] fix designerJson to standardJson: subStateMachine compensateState cannot be recognized | ||
| - [[#6907](https://github.com/apache/incubator-seata/pull/6907)] fix the issue of Codecov not generating reports | ||
| - [[#6925](https://github.com/apache/incubator-seata/pull/6925)] fix the issue in Raft model a follower's crash may lead to the continued use of expired tokens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最下方的开发者信息也需要登记
The developer information at the bottom also requires registration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your reminder, the developer info has been added.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6925 +/- ##
============================================
+ Coverage 51.72% 51.79% +0.07%
- Complexity 6456 6459 +3
============================================
Files 1122 1122
Lines 39857 39857
Branches 4668 4668
============================================
+ Hits 20616 20645 +29
+ Misses 17280 17252 -28
+ Partials 1961 1960 -1
|
funky-eyes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bugfix: resolve issue in Raft model a follower's crash may lead to the continued use of expired tokens (apache#6925)
…e continued use of expired tokens (apache#6925)
… client to continued use of expired tokens
Ⅰ. Describe what this PR did
解决raft模式下,follower崩溃可能导致client继续使用过期令牌的问题
resolve issue in Raft model where follower crashes could lead client to continued use of expired tokens
Ⅱ. Does this pull request fix one issue?
fixes #6917
In RaftRegistryServiceImpl#refreshToken, the tokenTimeStamp is updated before the request to obtain the token is sent, and there is no check for whether the HTTP status is normal.
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews