We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d649042 commit 20d3445Copy full SHA for 20d3445
fluss-server/src/main/java/com/alibaba/fluss/server/tablet/TabletServer.java
@@ -457,6 +457,13 @@ private static void validateConfigs(Configuration conf) {
457
throw new IllegalConfigurationException(
458
String.format("Configuration %s must be set.", ConfigOptions.REMOTE_DATA_DIR));
459
}
460
+
461
+ if (conf.get(ConfigOptions.LOG_SEGMENT_FILE_SIZE).getBytes() > Integer.MAX_VALUE) {
462
+ throw new IllegalConfigurationException(
463
+ String.format(
464
+ "Invalid configuration for %s, it must be less than or equal %d bytes.",
465
+ ConfigOptions.LOG_SEGMENT_FILE_SIZE.key(), Integer.MAX_VALUE));
466
+ }
467
468
469
@VisibleForTesting
0 commit comments