[
https://issues.apache.org/jira/browse/KYLIN-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17639956#comment-17639956
] ASF GitHub Bot commented on KYLIN-5308: --------------------------------------- sonarcloud[bot] commented on PR #2039: URL: https://github.com/apache/kylin/pull/2039#issuecomment-1328901250 Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_kylin&pullRequest=2039) [](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/security_hotspots?id=apache_kylin&pullRequest=2039&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_kylin&pullRequest=2039&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_kylin&pullRequest=2039&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_kylin&pullRequest=2039&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/component_measures?id=apache_kylin&pullRequest=2039&metric=new_coverage&view=list) [80.0% Coverage](https://sonarcloud.io/component_measures?id=apache_kylin&pullRequest=2039&metric=new_coverage&view=list) [](https://sonarcloud.io/component_measures?id=apache_kylin&pullRequest=2039&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_kylin&pullRequest=2039&metric=new_duplicated_lines_density&view=list) > The old transaction is not interrupted when Epoch renew retry > ------------------------------------------------------------- > > Key: KYLIN-5308 > URL: https://issues.apache.org/jira/browse/KYLIN-5308 > Project: Kylin > Issue Type: Bug > Reporter: Jiale He > Assignee: Jiale He > Priority: Critical > Attachments: image-2022-11-28-16-32-00-356.png > > > kylin fails to write data to the new transaction because the old transaction > is not interrupted during the Renew Epoch Retry. As a result, Kylin loses the > epoch. > > When Epoch Renew occurs, the write to the database times out and tries again. > As the old transaction is not rolled back during the retry, the old > transaction is successfully written to the database and MVCC+1 occurs. When a > new transaction writes to the database, it will check the MVCC. If the > detection fails, kylin will think that the Epoch is lost. > !image-2022-11-28-16-32-00-356.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
