This is an automated email from the ASF dual-hosted git repository.
wombatukun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new d9a9f1ed026 [HUDI-8958] Enable record index validation by default
(#12785)
d9a9f1ed026 is described below
commit d9a9f1ed026443bc685199eb9ed02d7c943f4548
Author: Lin Liu <[email protected]>
AuthorDate: Thu Feb 6 18:51:39 2025 -0800
[HUDI-8958] Enable record index validation by default (#12785)
---
.../java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java
b/hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java
index 78cca3eb909..c41e3c261c1 100644
---
a/hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java
+++
b/hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java
@@ -334,13 +334,13 @@ public class HoodieMetadataTableValidator implements
Serializable {
description = "Validate the number of entries in the record index,
which should be equal "
+ "to the number of record keys in the latest snapshot of the
table",
required = false)
- public boolean validateRecordIndexCount = false;
+ public boolean validateRecordIndexCount = true;
@Parameter(names = {"--validate-record-index-content"},
description = "Validate the content of the record index so that each
record key should "
+ "have the correct location, and there is no additional or
missing entry",
required = false)
- public boolean validateRecordIndexContent = false;
+ public boolean validateRecordIndexContent = true;
@Parameter(names = {"--validate-secondary-index"},
description = "Validate the entries in secondary index match the
primary key for the records",