[
https://issues.apache.org/jira/browse/IGNITE-8594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513656#comment-16513656
]
ASF GitHub Bot commented on IGNITE-8594:
----------------------------------------
GitHub user vldpyatkov opened a pull request:
https://github.com/apache/ignite/pull/4197
IGNITE-8594
Make error messages in validate_indexes command report more informative
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-8594
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4197.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4197
----
commit 969fc9851cc0f3a6c55dacf9a8d7ca05c52fb02c
Author: vd-pyatkov <vpyatkov@...>
Date: 2018-06-15T10:49:44Z
IGNITE-8594
Make error messages in validate_indexes command report more informative
----
> 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: Vladislav Pyatkov
> 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)