[
https://issues.apache.org/jira/browse/IGNITE-5153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010571#comment-16010571
]
Igor Sapego commented on IGNITE-5153:
-------------------------------------
There is an issue with implementation for Collections, Maps and Arrays of
objects - in C++ length of these types implemented in 3 steps:
1. Open writing session;
2. Write objects one by one;
3. Close session.
As you can see, the length of the of these types is unknown upon session
opening. Previously we were just reserving 4 bytes for length and were writing
it on session closing. Now we can't know how much bytes to reserve, as the
length field is now of a variable length.
> CPP: BinaryMarshaller should write ints in "varint" encoding where it makes
> sense
> ---------------------------------------------------------------------------------
>
> Key: IGNITE-5153
> URL: https://issues.apache.org/jira/browse/IGNITE-5153
> Project: Ignite
> Issue Type: Sub-task
> Components: general
> Affects Versions: 2.0
> Reporter: Vyacheslav Daradur
> Assignee: Igor Sapego
> Fix For: 2.1
>
>
> Need to implement IGNITE-5097
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)