You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
healchow
changed the title
[Improve] simplify flush check for appendMsg in FileMsgStore
[Improve][TubeMQ] Simplify flush check for appendMsg in FileMsgStore
Aug 3, 2022
Description
When appending msg, in
FileMsgStore
, we may need to flush the message(and metadata) to the disk according to the check logic https://github.com/apache/inlong/blob/master/inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/msgstore/disk/MsgFileStore.java?#L199~L206But these checks are mixed which is hard to comprehend.
We should simplify it in a concise manner.
InLong Component
InLong TubeMQ
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: