mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-28 20:09:14 +08:00
* [ISSUE #10819] Correct misleading CommitLog buffer comment * [ISSUE #10819] Refine CommitLog comment wording
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user