尝试删除未使用的令牌时数据库 table 中缺少列

Missing columns in DB table when attempting to remove unused tokens

我们是 WSO2 身份服务器的 运行 5.4.0,并且在 IDN_OAUTH2_ACCESS_TOKEN table 上收到缓慢查询警告。我们调查了几个原因并在 WSO2 文档中发现了这篇文章 https://docs.wso2.com/display/IS540/Removing+Unused+Tokens+from+the+Database

但是,我们注意到,我们在过程中引用了 table 中不存在的列:CONSUMER_KEY 和 TOKEN_SCOPE。我一直在搜索 WSO2 Git 存储库,寻找可能解释 table 差异的模式,但我找不到任何模式。有没有熟悉 WSO2 IS 的人可以告诉我们为什么 table 中缺少这些特定的列?是版本相关吗?我们可以修改 proc 以使用不同的列名,但这一发现让我质疑我们安装的 WSO2 组件的完整性(实际上是第三方开发的解决方案)。求一个合理的解释。

这是一个确定的 DOC 问题[1][2]。对于您的要求,请参阅此。 [3]或 [4].

[1].https://github.com/wso2/product-is/issues/5103 [2].https://github.com/wso2/product-is/issues/5102 [3].https://github.com/wso2/samples-is/blob/master/scripts/token-cleanup-scripts/mysql.sql [4].https://github.com/wso2/carbon-identity-framework/blob/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/mysql-5.4.x/mysql-tokencleanup.sql

谢谢