github-actions[bot] commented on code in PR #62880:
URL: https://github.com/apache/doris/pull/62880#discussion_r3147790401
##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -2148,6 +2148,13 @@ public class Config extends ConfigBase {
@ConfField(description = {"Maximum cached file number for external table
split file meta cache at query level."})
public static long max_external_table_split_file_meta_cache_num = 100000;
+ /**
+ * Maximum number of MaxCompute Storage API write block IDs that can be
allocated in one write session.
+ */
+ @ConfField(mutable = true, masterOnly = true, description = {
+ "Maximum number of MaxCompute Storage API write block IDs that can
be allocated in one write session."})
+ public static long max_compute_write_max_block_count = 20000L;
Review Comment:
PR #62578 made `20000` the FE-side guard for MaxCompute's per-session
block-id cap. After turning that into an unconstrained config here, setting
`max_compute_write_max_block_count > 20000` lets `allocateBlockIdRange()` hand
out block IDs that the previous FE-side guard explicitly refused. That moves
the failure from deterministic FE validation to a later write-time error after
data has already been produced. Can we keep `20000` as a hard upper bound and
only make a lower soft cap configurable (or validate/clamp the config value
before it is used)?
--
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]