Skip to content

Conversation

@swuferhong
Copy link
Contributor

Purpose

This pr is aims to set the default value of scan.partition.discovery.interval to 1min to reduce the server load. Currently, since Fluss Admin#listPartitions(TablePath tablePath) requires a large number of requests to ZooKeeper in server, for table with lots of partitions, this option cannot be set too small, as a small value would cause frequent requests and increase server load. In the future, once list partitions is optimized, the default value of this parameter can be reduced.

Brief change log

Tests

API and Format

Documentation

@swuferhong swuferhong force-pushed the adjust-list-partition-ms branch 2 times, most recently from b2fac1d to 37f6170 Compare September 23, 2025 08:05
@wuchong
Copy link
Member

wuchong commented Sep 27, 2025

@swuferhong it seems the Flink test is failed because of this change. Could you take a look?

@swuferhong swuferhong force-pushed the adjust-list-partition-ms branch 2 times, most recently from 9c511d4 to 6338c55 Compare September 28, 2025 02:51
@swuferhong swuferhong force-pushed the adjust-list-partition-ms branch from 6338c55 to bd9f3d9 Compare September 28, 2025 03:10
@swuferhong
Copy link
Contributor Author

@wuchong The tests passed.

@wuchong wuchong merged commit 3e79b2e into apache:main Sep 28, 2025
6 checks passed
leosanqing pushed a commit to leosanqing/fluss that referenced this pull request Sep 29, 2025
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.

2 participants