Tsz-wo Sze created RATIS-822:
--------------------------------
Summary: BufferedWriteChannel may not flush correctly
Key: RATIS-822
URL: https://issues.apache.org/jira/browse/RATIS-822
Project: Ratis
Issue Type: Bug
Components: server
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
Suppose the buffer in BufferedWriteChannel has capacity n and is initially
empty. Calling write(..) with n-byte data will trigger flushInternal(). Then,
the buffer becomes empty again. If flush() is called, it won't trigger
FileChannel.force(..) since the buffer is empty.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)