alibaba / fluss

Fluss is a streaming storage built for real-time analytics.
https://alibaba.github.io/fluss-docs
Apache License 2.0
701 stars 155 forks source link

[Bug] Fix the visibility of the CDC log, it should only become visible after the KV data has been flushed to RocksDb #66

Closed swuferhong closed 2 days ago

swuferhong commented 2 days ago

Search before asking

Fluss version

This issue is report bug that the visibility of the CDC log, it should only become visible after the KV data has been flushed to RocksDb. Currently, Fluss will first write the kv data to PreWriteBuffer in memory cache, and then flush to RocksDb, but in this time interval gap, the CDC log is visible to user, it's a wrong act.

Minimal reproduce step

no reproduce step

What doesn't meet your expectations?

In daily tests

Anything else?

No response

Are you willing to submit a PR?