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 Nicholas Sze (JIRA)" <ji...@apache.org> on 2017/08/07 22:28:00 UTC

[jira] [Resolved] (RATIS-101) Use ByteString instead of byte[] in RaftId, ClientId, RaftGroupId and RaftPeerId

     [ https://issues.apache.org/jira/browse/RATIS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo Nicholas Sze resolved RATIS-101.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.2.0-alpha

Thanks, Jing for reviewing the patches.

I have committed this.

> Use ByteString instead of byte[] in RaftId, ClientId, RaftGroupId and RaftPeerId
> --------------------------------------------------------------------------------
>
>                 Key: RATIS-101
>                 URL: https://issues.apache.org/jira/browse/RATIS-101
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>             Fix For: 0.2.0-alpha
>
>         Attachments: r101_20170804.patch, r101_20170807.patch
>
>
> - We can avoid copying bytes by using ByteString.
> - ByteString is immutable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)