0

我们公司正在将 SailPoint IIQ 用于其 IAM 解决方案。

尝试运行时: delete IdentityRequest *

我得到一个错误sailpoint.tools.GeneralException: null index column for collection: sailpoint.object.IdentityRequest.items

执行 aselect * from spt_identity_request_item where id is null;不会返回任何结果。

我正在伸手去拿吸管,并试图修理桌子,以防万一是导致问题的原因。他们用于数据库的表类型是 innodb。

repair table spt_identity_request_item;产生一个注释The storage engine for the table doesn't support repair

我也试过这个命令:

sudo mysqlcheck --repair --databases identityiq -u identityiq -p

当它运行时,它给出了一堆注释:

note : The storage engine for the table doesn't support repair

该命令实际上是否在修复问题?如果没有,有没有办法修复这个以及如何修复?

4

1 回答 1

1

看起来上面是使用 ORM 执行删除操作,并且不是在 sql 中出错,而是在应用程序级别出错:

sailpoint.tools.GeneralException: 
    null index column for collection: sailpoint.object.IdentityRequest.items

换句话说,它可能在到达 SQL 级别之前就失败了,所以这样做repair table不会有任何后果。也许您需要在sailpoint.object.IdentityRequest.items. 例如,我的猜测是它不知道是 NULLify 还是 DELETE 在 FK 关系中引用的对象。

于 2017-01-07T00:03:59.120 回答