[client] Support log scanner and writer for multiple tables#3140
[client] Support log scanner and writer for multiple tables#3140loserwang1024 wants to merge 1 commit into
Conversation
|
Thanks @loserwang1024. Supporting multi-table reads is a valuable enhancement. Currently, we can already read from multiple tables by creating separate I understand that the primary goal of this PR is to consolidate I/O within the LogFetcher, and maintaining individual LogScanners per table is not a problem. This optimization mirrors our approach on the writer side, where writes for multiple tables are merged into a unified sender instance to aggregate I/O. We can apply a similar strategy here by enabling multi-table support in the LogFetcher and sharing it at the Connection level. This approach allows us to keep the user-facing API unchanged, leveraging the existing hierarchy of Connection -> Table -> LogScanner without introducing a new multi-table scanner abstraction. It also ensures consistency between reader and writer operations for both single-table and multi-table scenarios. What do you think? |
this approach introduces two critical issues:
|
1f53a61 to
7195db5
Compare
7195db5 to
1b5e674
Compare
Purpose
Linked issue: close #3139
Brief change log
Tests
API and Format
Documentation