Skip to content

feat: add automatic connection refresh for TPC-C workload#193

Merged
Yui-Song merged 4 commits intopingcap:masterfrom
mahjonp:support_auto_refresh_conn
Jul 9, 2025
Merged

feat: add automatic connection refresh for TPC-C workload#193
Yui-Song merged 4 commits intopingcap:masterfrom
mahjonp:support_auto_refresh_conn

Conversation

@mahjonp
Copy link
Copy Markdown
Collaborator

@mahjonp mahjonp commented Jul 8, 2025

The automatic connection refresh feature enables TPC-C workloads to periodically refresh database connections to ensure load balancing across newly added TiDB replicas. This feature is particularly useful in dynamic environments where TiDB nodes are scaled up during operation.

./bin/go-tpc tpcc run --conn-refresh-interval 30s

@shaoxiqian
Copy link
Copy Markdown
Collaborator

/lgtm

mahjonp added 2 commits July 9, 2025 10:50
Signed-off-by: mahjonp <junpeng.man@gmail.com>
Signed-off-by: mahjonp <junpeng.man@gmail.com>
@Yui-Song Yui-Song merged commit dc92dee into pingcap:master Jul 9, 2025
2 checks passed
@mahjonp mahjonp deleted the support_auto_refresh_conn branch August 7, 2025 02:38
Sign up for free to 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