You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Todd Nine (JIRA)" <ji...@apache.org> on 2014/11/22 01:27:34 UTC

[jira] [Resolved] (USERGRID-250) Entities larger than an unsigned short cannot be loaded properly

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

Todd Nine resolved USERGRID-250.
--------------------------------
    Resolution: Fixed

Done and merged into the latest two-dot-o

> Entities larger than an unsigned short cannot be loaded properly
> ----------------------------------------------------------------
>
>                 Key: USERGRID-250
>                 URL: https://issues.apache.org/jira/browse/USERGRID-250
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>    Affects Versions: 2.0
>            Reporter: Todd Nine
>            Assignee: Todd Nine
>            Priority: Blocker
>
> Currently, we're storing entity data as SMILE json in a column.  We're using a dynamic composite to store this column.  Unfortunately, this doesn't work when our data size exceeds and unsigned short's max value of 65,535.  If more bytes than this are present, it will fail to load the entity successfully.  
> Steps to take.
> 1) Create a new Serialization Implementation that serializes the value into a larger buffer
> 2) Create a proxy Serialization to do concurrent writes, and single reads (see graph edge type serialization as an example)
> 3) Write a migration to move all the data to new entities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)