This is an automated email from the ASF dual-hosted git repository. jiaguo pushed a commit to branch test-build in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/test-build by this push: new c56afe556c remove checks introduced in https://github.com/apache/pinot/issues/12945 that is backward in compatible (#14016) c56afe556c is described below commit c56afe556cf01d4cac2d33e20fc0ad0aaf317f7e Author: Jia Guo <jia...@linkedin.com> AuthorDate: Wed Sep 18 13:10:17 2024 -0700 remove checks introduced in https://github.com/apache/pinot/issues/12945 that is backward in compatible (#14016) (cherry picked from commit 2dd7ccabb72b33cc1355745eb6576045f4af8b17) --- .../java/org/apache/pinot/segment/spi/index/ForwardIndexConfig.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/ForwardIndexConfig.java b/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/ForwardIndexConfig.java index 757ca23688..1e713bec02 100644 --- a/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/ForwardIndexConfig.java +++ b/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/ForwardIndexConfig.java @@ -65,10 +65,6 @@ public class ForwardIndexConfig extends IndexConfig { _rawIndexWriterVersion = rawIndexWriterVersion == null ? DEFAULT_RAW_WRITER_VERSION : rawIndexWriterVersion; _compressionCodec = compressionCodec; - if (targetMaxChunkSize != null && !(_deriveNumDocsPerChunk || _rawIndexWriterVersion == 4)) { - throw new IllegalStateException( - "targetMaxChunkSize should only be used when deriveNumDocsPerChunk is true or rawIndexWriterVersion is 4"); - } _targetMaxChunkSizeBytes = targetMaxChunkSize == null ? DEFAULT_TARGET_MAX_CHUNK_SIZE_BYTES : (int) DataSizeUtils.toBytes(targetMaxChunkSize); _targetMaxChunkSize = --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org