chenBright opened a new pull request, #3155: URL: https://github.com/apache/brpc/pull/3155
### What problem does this PR solve? Issue Number: Problem Summary: 1. When `FLAGS_rdma_memory_pool_buckets > 1`, the block pool cannot be dynamically expanded. 2. When `FLAGS_rdma_memory_pool_user_specified_memory = true`, it is difficult for users to correctly expand the block pool. ### What is changed and the side effects? Changed: Dynamically expanded memory is stored in an `expansion_list` protected by `extend_lock`, and each bucket only retrieves memory from the `expansion_list` at the corresponding index. Side effects: - Performance effects: - Breaking backward compatibility: --- ### Check List: - Please make sure your changes are compilable. - When providing us with a new feature, it is best to add related tests. - Please follow [Contributor Covenant Code of Conduct](https://github.com/apache/brpc/blob/master/CODE_OF_CONDUCT.md). -- 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]
