zhoukangsheng commented on issue #3100: URL: https://github.com/apache/brpc/issues/3100#issuecomment-3317780248
原因找到了,先说结论,是1.10.0版本 https://github.com/apache/brpc/pull/2628/files 引入的问题,并且在1.12.0版本https://github.com/apache/brpc/pull/2801/files 将这个问题修复了。具体原因是 <img width="1876" height="744" alt="Image" src="https://github.com/user-attachments/assets/3ae69d2c-64e8-4975-b899-776fc7feab8d" /> <img width="1159" height="828" alt="Image" src="https://github.com/user-attachments/assets/5a7e3117-0d2b-415a-a03a-23c91458efb7" /> 在1.10.0之前,bthread_concurrency一直使用的是默认值,线上服务通过ServerOptions的num_threads设置的线程数,升级到1.10.0版本后,由于上述commit,导致num_threads大于bthread_concurrency的默认值时,会直接被判断无效 -- 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]
