GOGOYAO opened a new issue #1068: cntl->latency_us() 返回负值
URL: https://github.com/apache/incubator-brpc/issues/1068
 
 
   **Describe the bug (描述bug)**
   在使用brpc和braft的过程中,出现了
   W0320 21:44:51.506333 15335 
/tmp/incubator-brpc/src/bvar/detail/percentile.cpp:121] Input=-277 to 
'raft_send_entries' is negative, drop
   W0320 21:44:51.506701 15335 /usr/local/include/bvar/recorder.h:254] 
Input=2147483647 to 'raft_send_entries_normalized' overflows
   `raft_send_entries` 对应的代码是 ` g_send_entries_latency << cntl->latency_us();`  
也就是说`cntl->latency_us()`出现了负值。
   
   **To Reproduce (复现方法)**
   暂无
   
   **Expected behavior (期望行为)**
   返回正数
   
   **Versions (各种版本)**
   OS: cenos 7.7
   Compiler: gcc8
   brpc: 最新master
   protobuf: 3.11
   
   **Additional context/screenshots (更多上下文/截图)**
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to