Shuo-Jia commented on issue #840:
URL:
https://github.com/apache/incubator-pegasus/issues/840#issuecomment-1018399256
> meta server should remember the feature list of all the replica server
Well, I see, you can select to resolve it based different cases. Another
resolution is the response just fill the `alive node`when query `feature_list`:
```c++
node_state _state; // global, `node_state` is regarded as latest `nodes-map
config` in rdsn
feature_map _feature; // global, it may include expired node or config;
feature_map resp;// the actually need resp
for(n: node_state) {
resp.put(n, _feature[n]);
}
```
client can triger update if the config is still older and receive error.
It's also say, the config update is lazy, which no need be precisely
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]