You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Daradur (JIRA)" <ji...@apache.org> on 2017/07/12 11:11:00 UTC

[jira] [Comment Edited] (IGNITE-5153) CPP: BinaryMarshaller should write ints in "varint" encoding where it makes sense

    [ https://issues.apache.org/jira/browse/IGNITE-5153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083816#comment-16083816 ] 

Vyacheslav Daradur edited comment on IGNITE-5153 at 7/12/17 11:10 AM:
----------------------------------------------------------------------

[~isapego],
There are some changes in the [PR|https://github.com/apache/ignite/pull/2043].
I've added the changes to provide compatibility property to allow to keep data in old format (as it had been told by [~avinogradov])

It is managed by system-environment property: {{IGNITE_NO_VARINT_ARRAY_LENGTH}}
When set to {{true}}, Ignite switches to compatibility mode with versions that writing length of arrays in default format.
Default is {{false}}, which means that length of arrays will be written in varint encoding.
Please, see details in the [PR|https://github.com/apache/ignite/pull/2043].

Could you implement this changes?
Thanks in advance.


was (Author: daradurvs):
[~isapego],
There are some changes in the [PR|https://github.com/apache/ignite/pull/2043].
I've added the changes to provide compatibility property to allow to keep data in old format (as it had been told by [~avinogradov])

It is managed by system-environment property: {{GNITE_NO_VARINT_ARRAY_LENGTH}}
When set to {{true}}, Ignite switches to compatibility mode with versions that writing length of arrays in default format.
Default is {{false}}, which means that length of arrays will be written in varint encoding.
Please, see details in the [PR|https://github.com/apache/ignite/pull/2043].

Could you implement this changes?
Thanks in advance.

> 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: platforms
>    Affects Versions: 2.0
>            Reporter: Vyacheslav Daradur
>            Assignee: Igor Sapego
>             Fix For: 2.2
>
>
> Need to implement IGNITE-5097



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