You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/12/25 17:31:00 UTC
[jira] [Created] (RATIS-2228) LogAppenderBase.nextAppendEntriesRequest may return an inconsistent ReferenceCountedObject
Tsz-wo Sze created RATIS-2228:
---------------------------------
Summary: LogAppenderBase.nextAppendEntriesRequest may return an inconsistent ReferenceCountedObject
Key: RATIS-2228
URL: https://issues.apache.org/jira/browse/RATIS-2228
Project: Ratis
Issue Type: Sub-task
Components: server
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
In LogAppenderBase.nextAppendEntriesRequest,
- it reads N entries from RaftLog and offers them to the buffer queue.
- Then, it pulls M protos from the buffer queue.
- Finally, it returns a ReferenceCountedObject using the N offered entries and the M pulled protos.
The problem is that M and N could be unequal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)