apache / apache/incubator-seata-samples

1.6.1版本使用redis模式回滚成功但redis中存在SEATA_ROW_LOCK_jdbc不会自动删除

Open
#602 0 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
Java
Stars
2.4k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

1.6.1版本使用redis存储模式回滚成功,seata和服务都没报错,都显示回滚成功,数据也没问题,但redis中会存在SEATA_ROW_LOCK_jdbc开头的key不会自动删除。改用mysl后,回滚后seata的四个表中均无脏数据,全部自动删除,为什么redis会存在这种问题呢?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Reproduce a successful rollback on Seata 1.6.1 with Redis storage, inspect the remaining SEATA_ROW_LOCK_jdbc keys, and compare the result with MySQL storage; the issue is done when the cause of the leftover keys and the expected cleanup behavior are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, redis
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.