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

support get forward address from configuration_query_by_index_response #27

Merged
merged 4 commits into from
Dec 29, 2018

Conversation

qinzuoyan
Copy link
Member

@qinzuoyan qinzuoyan commented Dec 27, 2018

related pr XiaoMi/rdsn#212

with this feature, we can extend pegasus meta server nodes.

if meta_list in client config is: 127.0.0.1:34601,
but pegasus cluser's meta list is: 127.0.0.1:34601,127.0.0.1:34602, and 127.0.0.1:34602 is the leader,
it also can work.

@qinzuoyan qinzuoyan added the enhancement New feature or request label Dec 27, 2018
@@ -50,6 +51,13 @@ static public final error_types getMetaServiceError(client_operator metaQueryOp)
return op.get_response().getErr().errno;
}

static public final rpc_address getMetaServiceFrowardAddress(client_operator metaQueryOp) {

Choose a reason for hiding this comment

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

拼错:getMetaServiceForwardAddress

@qinzuoyan qinzuoyan merged commit 5c260ce into thrift-0.11.0-inlined Dec 29, 2018
vagetablechicken pushed a commit to vagetablechicken/pegasus-java-client that referenced this pull request Jan 4, 2019
@qinzuoyan qinzuoyan deleted the qinzuoyan branch January 8, 2019 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants