Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

replica-server: add counters of recent_read_fail_count and recent_wri… #218

Merged
merged 2 commits into from
Jan 17, 2019

Conversation

qinzuoyan
Copy link
Member

…te_fail_count

refer to apache/incubator-pegasus#259

@@ -160,7 +164,7 @@ class replica : public serverlet<replica>, public ref_counter, public replica_ba
private:
// common helpers
void init_state();
void response_client_message(bool is_read, dsn::message_ex *request, error_code error);
void response_client(bool is_read, dsn::message_ex *request, error_code error);
Copy link
Contributor

Choose a reason for hiding this comment

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

定义两个函数 respond_client_for_read / respond_client_for_write 更直观,内部调用 respond_client

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants