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)