[
https://issues.apache.org/jira/browse/IGNITE-11967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirill Tkalenko updated IGNITE-11967:
-------------------------------------
Description:
At the moment we have the following output in case of SQL index problems:
{noformat}
SQL Index [cache=union-module, idx=_key_PK] ValidateIndexesPartitionResult
[consistentId=0.0.0.0:47500, sqlIdxName=_key_PK]
IndexValidationIssue [key=0, cacheName=union-module, idxName=_key_PK], class
org.apache.ignite.IgniteCheckedException: Key is present in SQL index, but
can't be found in CacheDataTree.
IndexValidationIssue [key=0, cacheName=union-module, idxName=_key_PK], class
org.apache.ignite.IgniteCheckedException: Key is present in SQL index, but
can't be found in CacheDataTree.
IndexValidationIssue [key=null, cacheName=union-module, idxName=_key_PK],
class java.lang.AssertionError: itemId=9, directCnt=9, indirectCnt=0,
page=0001332300000112 [3883, 3669, 3456, 3242, 3029, 2815, 2602, 2386,
1747][][free=2101]
IndexValidationIssue [key=0, cacheName=union-module, idxName=_key_PK], class
org.apache.ignite.IgniteCheckedException: Key is present in SQL index, but
can't be found in CacheDataTree.
{noformat}
We print info about cache name only. We should print information about cache
group too.
> control.sh validate_indexes SQL Index issue must contain information about
> cache group
> --------------------------------------------------------------------------------------
>
> Key: IGNITE-11967
> URL: https://issues.apache.org/jira/browse/IGNITE-11967
> Project: Ignite
> Issue Type: Improvement
> Reporter: Kirill Tkalenko
> Assignee: Kirill Tkalenko
> Priority: Major
> Fix For: 2.8
>
>
> At the moment we have the following output in case of SQL index problems:
> {noformat}
> SQL Index [cache=union-module, idx=_key_PK] ValidateIndexesPartitionResult
> [consistentId=0.0.0.0:47500, sqlIdxName=_key_PK]
> IndexValidationIssue [key=0, cacheName=union-module, idxName=_key_PK], class
> org.apache.ignite.IgniteCheckedException: Key is present in SQL index, but
> can't be found in CacheDataTree.
> IndexValidationIssue [key=0, cacheName=union-module, idxName=_key_PK], class
> org.apache.ignite.IgniteCheckedException: Key is present in SQL index, but
> can't be found in CacheDataTree.
> IndexValidationIssue [key=null, cacheName=union-module, idxName=_key_PK],
> class java.lang.AssertionError: itemId=9, directCnt=9, indirectCnt=0,
> page=0001332300000112 [3883, 3669, 3456, 3242, 3029, 2815, 2602, 2386,
> 1747][][free=2101]
> IndexValidationIssue [key=0, cacheName=union-module, idxName=_key_PK], class
> org.apache.ignite.IgniteCheckedException: Key is present in SQL index, but
> can't be found in CacheDataTree.
> {noformat}
> We print info about cache name only. We should print information about cache
> group too.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)