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)