Skip to content
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

Merged
merged 27 commits into from
May 30, 2019

Conversation

zhangyifan27
Copy link
Contributor

Ref issue #235

src/shell/command_helper.h Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.h Outdated Show resolved Hide resolved
src/server/info_collector.cpp Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/shell/command_helper.h Outdated Show resolved Hide resolved
src/shell/command_helper.h Outdated Show resolved Hide resolved
src/shell/command_helper.h Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.h Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
scripts/falcon_screen.json Outdated Show resolved Hide resolved
src/server/pegasus_write_service_impl.h Outdated Show resolved Hide resolved
src/server/pegasus_write_service_impl.h Outdated Show resolved Hide resolved
src/server/pegasus_write_service_impl.h Outdated Show resolved Hide resolved
src/server/pegasus_write_service_impl.h Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/pegasus_write_service_impl.h Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
@acelyc111
Copy link
Member

已解决的comment点一下"Resolve conversation"吧 便于查看还有哪些没resolve的

src/server/config-server.ini Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.h Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.h Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.h Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/available_detector.cpp Outdated Show resolved Hide resolved
src/server/available_detector.h Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.h Outdated Show resolved Hide resolved
src/server/available_detector.cpp Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/pegasus_write_service_impl.h Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.h Show resolved Hide resolved
src/server/pegasus_write_service_impl.h Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.h Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/info_collector.h Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/config-server.ini Outdated Show resolved Hide resolved
src/server/config.ini Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Outdated Show resolved Hide resolved
src/server/result_writer.cpp Outdated Show resolved Hide resolved
src/server/available_detector.cpp Outdated Show resolved Hide resolved
src/server/available_detector.cpp Outdated Show resolved Hide resolved
void set_result(const std::string &hash_key,
const std::string &sort_key,
const std::string &value,
int try_count = 300);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try_count作为这个类构造函数传进去吧, 这个函数的参数去掉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

async_set 的回调函数也要调用set_result,这个参数还不能去掉

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不去掉, 把它放在result_writer构造函数参数里, 看调用都是固定的一个值, 写成函数内部的常量都行

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里try_count默认值是300,不一定要固定吧。

src/server/capacity_unit_calculator.h Show resolved Hide resolved
src/server/pegasus_write_service.cpp Show resolved Hide resolved
src/server/result_writer.cpp Outdated Show resolved Hide resolved
src/server/result_writer.cpp Outdated Show resolved Hide resolved
src/shell/command_helper.h Outdated Show resolved Hide resolved
src/shell/command_helper.h Show resolved Hide resolved
@acelyc111
Copy link
Member

引用的rdsn commit id更新下

src/server/available_detector.h Outdated Show resolved Hide resolved
src/server/result_writer.h Outdated Show resolved Hide resolved
src/server/result_writer.cpp Outdated Show resolved Hide resolved
src/server/info_collector.cpp Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.h Outdated Show resolved Hide resolved
src/server/pegasus_server_impl.cpp Outdated Show resolved Hide resolved
src/server/available_detector.cpp Show resolved Hide resolved
src/server/capacity_unit_calculator.h Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
src/server/capacity_unit_calculator.cpp Outdated Show resolved Hide resolved
@neverchanje neverchanje mentioned this pull request May 24, 2019
10 tasks
neverchanje
neverchanje previously approved these changes May 24, 2019
@acelyc111
Copy link
Member

跟master有冲突, rebase一下master

@neverchanje neverchanje merged commit fa8ae10 into apache:master May 30, 2019
neverchanje pushed a commit to neverchanje/pegasus that referenced this pull request Jul 13, 2019
Former-commit-id: 31812d21797dbf8d4ab622e4633f093f24d749b9 [formerly fa8ae10]
Former-commit-id: d202d192c7d62378bb943bcf6cebbb6eb7624255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants