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 2019/10/22 05:02:00 UTC
[jira] [Commented] (RATIS-725) Avoid LogEntry list to array
conversion in RaftServerImpl#appendEntriesAsync
[ https://issues.apache.org/jira/browse/RATIS-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16956683#comment-16956683 ]
Tsz-wo Sze commented on RATIS-725:
----------------------------------
No problem. You did find a lot of bad bugs.
> Avoid LogEntry list to array conversion in RaftServerImpl#appendEntriesAsync
> ----------------------------------------------------------------------------
>
> Key: RATIS-725
> URL: https://issues.apache.org/jira/browse/RATIS-725
> Project: Ratis
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Minor
>
> RaftServerImpl#appendEntriesAsync(AppendEntriesRequestProto r) currently converts the LogEntryProto list to an array. We can avoid the array conversion and use the original list itself.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)