[
https://issues.apache.org/jira/browse/IGNITE-8594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Rakov updated IGNITE-8594:
---
Description:
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 is missing in corresponding data page.
was:
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.
> 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
>Priority: Major
> 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 is missing in corresponding data page.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)