kvrocks2redis can't sync flush commands
- Dominant language
- C++
- Stars
- 4.4k
- Forks
- 658
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 10
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
### Version
unstable 70fac378e9f966f8209c5195cdd2aaa214a87a0e Fri Feb
### Minimal reproduce step

master -> slave -> kvrocks2redis -> target
1、master flush
2、aof only write one del command
### What did you expect to see?
write flushcommand to aof file
### What did you see instead?
aof only write one del command
### Anything Else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the master-to-slave-to-kvrocks2redis replication path and the AOF handling for flush commands. Reproduce the master flush scenario and verify that the target AOF records a flush command rather than only one del command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100