-
Notifications
You must be signed in to change notification settings - Fork 526
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
[feat] CurveFS: support braft lease read #2599
Conversation
70fb18a
to
2fa67c8
Compare
cicheck |
cicheck |
@wu-hanqing @ilixiaocui please take a look, thx~ |
@@ -208,6 +200,7 @@ class MetaCache { | |||
RWLock rwlock4Partitions_; | |||
PartitionInfoList partitionInfos_; | |||
RWLock rwlock4copysetInfoMap_; | |||
// TODO(Xinlong-Chen): delete appliedindex from CopysetInfo |
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.
When will this problem be fixed?
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.
CopysetInfo
is defined in metacache_struct.h
in curvebs. If I change this struct, it will cause some ci problems, so I will fix it when prs merge. It's not difficult to do it.
#include "src/client/metacache_struct.h" |
2fa67c8
to
70e46db
Compare
cicheck |
70e46db
to
ebfcdeb
Compare
cicheck |
@ilixiaocui PTAL~ |
Signed-off-by: Xinlong Chen <[email protected]>
ebfcdeb
to
67f26d8
Compare
cicheck |
What problem does this PR solve?
Issue Number: #1598
Problem Summary: feat: support braft lease read for curvefs
What is changed and how it works?
What's Changed: enable braft lease, change request handler in metaserver.
How it Works:
Side effects(Breaking backward compatibility? Performance regression?):
Check List