weixin_39578867 2020-11-30 14:25
浏览 0

cpp client core when meta closes connection of query config if connection threshold is hit

The problem can be reproduced on the temp branch https://github.com/XiaoMi/pegasus/tree/timeout_core

Steps: 1. build 2. start onebox (3 meta, 5 replica, connection_threshold_endpoint is set to 7 for testing) [network] ; how many network threads for network library(used by asio) io_service_worker_count = 4 connection_threshold_endpoint = 7 3. start a shell, so primary meta connection count will be 6 4. build cpp client sample, run it (query config from primary meta will hit the connection threshold)

该提问来源于开源项目:apache/incubator-pegasus

  • 写回答

5条回答 默认 最新

  • weixin_39578867 2020-11-30 14:25
    关注

    change client log level to LOG_LEVEL_INFORMATION, to see more log info change set timeout to 10000 for cpp client sample, more easy to recreate int ret = client->set(hash_key, sort_key, value, 10000);

    评论

报告相同问题?