Skip to content

add config for enable/disable netty isWritable check && opt for connection pool - #434

Merged
WeiXinChan merged 4 commits into
oceanbase:masterfrom
GroundWu:isWritable_check_swicth
Feb 6, 2026
Merged

add config for enable/disable netty isWritable check && opt for connection pool#434
WeiXinChan merged 4 commits into
oceanbase:masterfrom
GroundWu:isWritable_check_swicth

Conversation

@GroundWu

@GroundWuGroundWu commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  1. Add config for Netty writable check: Enable/disable isWritable check via configuration
  2. Connection pool optimizations:
  • Increase initial connections from 1 to min(10, poolSize) to prevent write buffer overflow
  • Fix expired connection check: use dedicated counter with continuous scanning
  • Improve load balancing: use dedicated counter that increments per connection access

Solution Description

Comment threadsrc/main/java/com/alipay/oceanbase/rpc/property/Property.java Outdated
@GroundWuGroundWu changed the title add config for enable/disable netty isWritable checkadd config for enable/disable netty isWritable check && opt for connection poolFeb 4, 2026
@WeiXinChan

Copy link
Copy Markdown
Contributor

LGTM

@WeiXinChan
WeiXinChan merged commit 7948166 into oceanbase:masterFeb 6, 2026
3 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@GroundWu@WeiXinChan@maochongxin