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

Nate McCall updated CASSANDRA-1324:
-----------------------------------

    Attachment: 1324-trunk.patch

First pass, getting intermittent thrift error:
"TApplicationException: Internal error processing insert"

I'll trace this through later. This patch shows more the changes needed to "get 
things working" with ByteBuffer.

In the long term, I would see two phases here: 
1. like the above, with minimal changes to classes not directly dealing with 
the thrift structs
2. putting through the rest of the changes for using ByteBuffer internally in 
our own APIs where useful

> Update thrift API to support ByteBuffer based allocation 
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1324
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1324
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Nate McCall
>            Assignee: Nate McCall
>         Attachments: 1324-trunk.patch
>
>
> THRIFT-830 has a patch that uses ByteBuffer instead of byte[] internally. The 
> use of ByteBuffer could save substantial overhead if we converted everything 
> over to match.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to