-
Notifications
You must be signed in to change notification settings - Fork 312
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
*:support capacity unit read/write statistics #318
Conversation
已解决的comment点一下"Resolve conversation"吧 便于查看还有哪些没resolve的 |
void set_result(const std::string &hash_key, | ||
const std::string &sort_key, | ||
const std::string &value, | ||
int try_count = 300); |
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.
try_count
作为这个类构造函数传进去吧, 这个函数的参数去掉
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.
async_set 的回调函数也要调用set_result,这个参数还不能去掉
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.
不去掉, 把它放在result_writer构造函数参数里, 看调用都是固定的一个值, 写成函数内部的常量都行
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.
这里try_count默认值是300,不一定要固定吧。
引用的rdsn commit id更新下 |
跟master有冲突, rebase一下master |
Former-commit-id: 31812d21797dbf8d4ab622e4633f093f24d749b9 [formerly fa8ae10] Former-commit-id: d202d192c7d62378bb943bcf6cebbb6eb7624255
Ref issue #235