[ https://issues.apache.org/jira/browse/IGNITE-12627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Malinovskiy updated IGNITE-12627: ------------------------------------------ Description: In 2.5.11/8.5.11 control utility does not show corrupted indexes: {noformat} [avolkov@lab43 bin]$ ./control.sh --host 172.25.1.43 --port 11211 --cache validate_indexes Control utility [ver. 2.5.11#20191004-sha1:565c778e] 2019 Copyright(C) Apache Software Foundation User: avolkov Time: 2019-10-09T11:10:56.519 Command [CACHE] started Arguments: --host 172.25.1.43 --port 11211 --cache validate_indexes -------------------------------------------------------------------------------- no issues found. Command [CACHE] finished with code: 0 Control utility has completed execution at: 2019-10-09T11:10:56.916 Execution time: 397 ms {noformat} but in logs I can see: {code:java} 11:10:56,745][WARNING][pool-6-thread-3][ValidateIndexesClosure] Current progress of ValidateIndexesClosure: checked integrity of 1 index partitions of 14 cache groups [11:10:56,850][SEVERE][pool-6-thread-14][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=EXAMPLE_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=EXAMPLE_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,850][SEVERE][pool-6-thread-12][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=_key_PK], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=_key_PK, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,851][SEVERE][pool-6-thread-11][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=ALLTYPESINDEXED_LONGCOL_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=ALLTYPESINDEXED_LONGCOL_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,853][SEVERE][pool-6-thread-3][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=EXAMPLE_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=EXAMPLE_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,853][SEVERE][pool-6-thread-1][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=ALLTYPESINDEXED_LONGCOL_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=ALLTYPESINDEXED_LONGCOL_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,856][SEVERE][pool-6-thread-6][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=_key_PK], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=_key_PK, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,861][WARNING]mgmt-#131[ValidateIndexesClosure] ValidateIndexesClosure finished: processed 2648 partitions and 6 indexes. {code} This information isn't reflected in control utility output. was: In 2.5.11/8.5.11 control utility does not show corrupted indexes: {noformat} {{[avolkov@lab43 bin]$ ./control.sh --host 172.25.1.43 --port 11211 --cache validate_indexes Control utility [ver. 2.5.11#20191004-sha1:565c778e] 2019 Copyright(C) Apache Software Foundation User: avolkov Time: 2019-10-09T11:10:56.519 Command [CACHE] started Arguments: --host 172.25.1.43 --port 11211 --cache validate_indexes -------------------------------------------------------------------------------- no issues found. Command [CACHE] finished with code: 0 Control utility has completed execution at: 2019-10-09T11:10:56.916 Execution time: 397 ms}} {noformat} but in logs I can see: \{noformat} {{11:10:56,745][WARNING][pool-6-thread-3][ValidateIndexesClosure] Current progress of ValidateIndexesClosure: checked integrity of 1 index partitions of 14 cache groups [11:10:56,850][SEVERE][pool-6-thread-14][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=EXAMPLE_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=EXAMPLE_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,850][SEVERE][pool-6-thread-12][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=_key_PK], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=_key_PK, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,851][SEVERE][pool-6-thread-11][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=ALLTYPESINDEXED_LONGCOL_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=ALLTYPESINDEXED_LONGCOL_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,853][SEVERE][pool-6-thread-3][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=EXAMPLE_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=EXAMPLE_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,853][SEVERE][pool-6-thread-1][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=ALLTYPESINDEXED_LONGCOL_IDX], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=ALLTYPESINDEXED_LONGCOL_IDX, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,856][SEVERE][pool-6-thread-6][ValidateIndexesClosure] Find in index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=_key_PK], class org.h2.message.DbException: General error: "class org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, cacheName=cache_group_1_028, indexName=_key_PK, msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] [11:10:56,861][WARNING][mgmt-#131|#131][ValidateIndexesClosure] ValidateIndexesClosure finished: processed 2648 partitions and 6 indexes.}} \{noformat} This information isn't reflected in control utility output. > Control utility does not show corrupted indexes > ----------------------------------------------- > > Key: IGNITE-12627 > URL: https://issues.apache.org/jira/browse/IGNITE-12627 > Project: Ignite > Issue Type: Bug > Reporter: Vladimir Malinovskiy > Priority: Major > > In 2.5.11/8.5.11 control utility does not show corrupted indexes: > > {noformat} > [avolkov@lab43 bin]$ ./control.sh --host 172.25.1.43 --port 11211 --cache > validate_indexes > Control utility [ver. 2.5.11#20191004-sha1:565c778e] > 2019 Copyright(C) Apache Software Foundation > User: avolkov > Time: 2019-10-09T11:10:56.519 > Command [CACHE] started > Arguments: --host 172.25.1.43 --port 11211 --cache validate_indexes > -------------------------------------------------------------------------------- > no issues found. > Command [CACHE] finished with code: 0 > Control utility has completed execution at: 2019-10-09T11:10:56.916 > Execution time: 397 ms > {noformat} > > but in logs I can see: > > {code:java} > 11:10:56,745][WARNING][pool-6-thread-3][ValidateIndexesClosure] Current > progress of ValidateIndexesClosure: checked integrity of 1 index partitions > of 14 cache groups > [11:10:56,850][SEVERE][pool-6-thread-14][ValidateIndexesClosure] Find in > index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, > idxName=EXAMPLE_IDX], class org.h2.message.DbException: General error: "class > org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: > B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, > cacheName=cache_group_1_028, indexName=EXAMPLE_IDX, msg=Runtime failure on > bounds: [lower=null, upper=null]]" [50000-195] > [11:10:56,850][SEVERE][pool-6-thread-12][ValidateIndexesClosure] Find in > index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, > idxName=_key_PK], class org.h2.message.DbException: General error: "class > org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: > B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, > cacheName=cache_group_1_028, indexName=_key_PK, msg=Runtime failure on > bounds: [lower=null, upper=null]]" [50000-195] > [11:10:56,851][SEVERE][pool-6-thread-11][ValidateIndexesClosure] Find in > index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, > idxName=ALLTYPESINDEXED_LONGCOL_IDX], class org.h2.message.DbException: > General error: "class > org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: > B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, > cacheName=cache_group_1_028, indexName=ALLTYPESINDEXED_LONGCOL_IDX, > msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] > [11:10:56,853][SEVERE][pool-6-thread-3][ValidateIndexesClosure] Find in > index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, > idxName=EXAMPLE_IDX], class org.h2.message.DbException: General error: "class > org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: > B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, > cacheName=cache_group_1_028, indexName=EXAMPLE_IDX, msg=Runtime failure on > bounds: [lower=null, upper=null]]" [50000-195] > [11:10:56,853][SEVERE][pool-6-thread-1][ValidateIndexesClosure] Find in > index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, > idxName=ALLTYPESINDEXED_LONGCOL_IDX], class org.h2.message.DbException: > General error: "class > org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: > B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, > cacheName=cache_group_1_028, indexName=ALLTYPESINDEXED_LONGCOL_IDX, > msg=Runtime failure on bounds: [lower=null, upper=null]]" [50000-195] > [11:10:56,856][SEVERE][pool-6-thread-6][ValidateIndexesClosure] Find in > index failed: IndexValidationIssue [key=null, cacheName=cache_group_1_028, > idxName=_key_PK], class org.h2.message.DbException: General error: "class > org.apache.ignite.internal.processors.cache.persistence.tree.CorruptedTreeException: > B+Tree is corrupted [pages(groupId, pageId)=[], cacheId=1586135659, > cacheName=cache_group_1_028, indexName=_key_PK, msg=Runtime failure on > bounds: [lower=null, upper=null]]" [50000-195] > [11:10:56,861][WARNING]mgmt-#131[ValidateIndexesClosure] > ValidateIndexesClosure finished: processed 2648 partitions and 6 indexes. > {code} > > This information isn't reflected in control utility output. -- This message was sent by Atlassian Jira (v8.3.4#803005)