You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ivan Rakov (JIRA)" <ji...@apache.org> on 2018/05/24 09:39:00 UTC

[jira] [Created] (IGNITE-8594) Make error messages in validate_indexes command report more informative

Ivan Rakov created IGNITE-8594:
----------------------------------

             Summary: Make error messages in validate_indexes command report more informative
                 Key: IGNITE-8594
                 URL: https://issues.apache.org/jira/browse/IGNITE-8594
             Project: Ignite
          Issue Type: Improvement
            Reporter: Ivan Rakov
            Assignee: Ivan Rakov
             Fix For: 2.6


In case index is broken and contains links to missing items in data pages, validate_indexes command will show "Item not found" messages in report:
{noformat}
IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=_key_PK], class java.lang.IllegalStateException: Item not found: 65
IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=_key_PK], class java.lang.IllegalStateException: Item not found: 15
SQL Index [cache=cache_group_1_028, idx=LONG__VAL_IDX] ValidateIndexesPartitionResult [consistentId=node2, sqlIdxName=LONG__VAL_IDX]
IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=LONG__VAL_IDX], class java.lang.IllegalStateException: Item not found: 60
IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=LONG__VAL_IDX], class java.lang.IllegalStateException: Item not found: 65
IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=LONG__VAL_IDX], class java.lang.IllegalStateException: Item not found: 65
IndexValidationIssue [key=null, cacheName=cache_group_1_028, idxName=LONG__VAL_IDX], class java.lang.IllegalStateException: Item not found: 15
{noformat}
It would be better to explain what is happening: key is present in SQL index, but missing in corresponding data page.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)