[ISSUE #10819] Correct misleading CommitLog buffer comment (#10820)

* [ISSUE #10819] Correct misleading CommitLog buffer comment

* [ISSUE #10819] Refine CommitLog comment wording
This commit is contained in:
fuyou001
2026-08-06 16:33:59 +08:00
committed by GitHub
parent 2daf0e2ca9
commit cbebac2e66
@@ -2092,7 +2092,7 @@ public class CommitLog implements Swappable {
final long beginTimeMills = CommitLog.this.defaultMessageStore.now();
CommitLog.this.getMessageStore().getPerfCounter().startTick("WRITE_MEMORY_TIME_MS");
// Write messages to the queue buffer
// Append the encoded message to the current CommitLog buffer
byteBuffer.put(preEncodeBuffer);
CommitLog.this.getMessageStore().getPerfCounter().endTick("WRITE_MEMORY_TIME_MS");
msgInner.setEncodedBuff(null);