[jira] [Commented] (GEODE-4769) Serialize region entry before putting in local cache

2018-07-10 Thread Anthony Baker (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16539199#comment-16539199
 ] 

Anthony Baker commented on GEODE-4769:
--

[~vlotarev] I believe this feature is not enabled by default.  You have to 
specify {{geode.earlyEntryEventSerialization=true}} to serialize prior to 
distribution.  The intent to catch invalid serialization early to prevent cache 
inconsistencies.  This won't change how the object is stored locally (so it's 
still really fast!).

> Serialize region entry before putting in local cache
> 
>
> Key: GEODE-4769
> URL: https://issues.apache.org/jira/browse/GEODE-4769
> Project: Geode
>  Issue Type: Improvement
>  Components: regions
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This will prevent cache inconsistency when dealing with key or value objects 
> that have broken serialization.
> Test should create two members with a REPLICATE region. If one member 
> performs a put, but the serialization fails then the region entry currently 
> ends up existing in only the cache of the member that performed the put 
> locally. The change will prevent this from occurring.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-4769) Serialize region entry before putting in local cache

2018-07-06 Thread Vadim Lotarev (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16534920#comment-16534920
 ] 

Vadim Lotarev commented on GEODE-4769:
--

Does this fix mean that all entries are _always_ stored in serialized form now 
in the local cache? So in order to get them deserialization is always 
performed? Don't you think that this will affect cache performance? One of 
advantages of Geode was the fact that it worked with the local cache really 
fast because data were stored in not serialized form most of the time ...

> Serialize region entry before putting in local cache
> 
>
> Key: GEODE-4769
> URL: https://issues.apache.org/jira/browse/GEODE-4769
> Project: Geode
>  Issue Type: Improvement
>  Components: regions
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This will prevent cache inconsistency when dealing with key or value objects 
> that have broken serialization.
> Test should create two members with a REPLICATE region. If one member 
> performs a put, but the serialization fails then the region entry currently 
> ends up existing in only the cache of the member that performed the put 
> locally. The change will prevent this from occurring.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-4769) Serialize region entry before putting in local cache

2018-03-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/GEODE-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16402609#comment-16402609
 ] 

ASF subversion and git services commented on GEODE-4769:


Commit be9d99da1bb9beb077e9339d0742706ba5d3b96b in geode's branch 
refs/heads/feature/GEODE-4647 from [~apa...@the9muses.net]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=be9d99d ]

GEODE-4769: optional early serialization of EntryEvent key and new value

If enabled, Regions and Transactions will serialize key and value before
updating the local cache. This prevents inconsistency between distributed
members caused by any failure to serialize the key or value.

This feature is disabled by default. To enable it, specify the system
property geode.earlyEntryEventSerialization=true.


> Serialize region entry before putting in local cache
> 
>
> Key: GEODE-4769
> URL: https://issues.apache.org/jira/browse/GEODE-4769
> Project: Geode
>  Issue Type: Improvement
>  Components: regions
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This will prevent cache inconsistency when dealing with key or value objects 
> that have broken serialization.
> Test should create two members with a REPLICATE region. If one member 
> performs a put, but the serialization fails then the region entry currently 
> ends up existing in only the cache of the member that performed the put 
> locally. The change will prevent this from occurring.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-4769) Serialize region entry before putting in local cache

2018-03-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/GEODE-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16402610#comment-16402610
 ] 

ASF subversion and git services commented on GEODE-4769:


Commit 076d9abfc2aa2d365adfead168f05e054bea0248 in geode's branch 
refs/heads/feature/GEODE-4647 from [~apa...@the9muses.net]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=076d9ab ]

GEODE-4769: fix tests using non-Serializable value objects

Cleanup all test classes touched for this change.


> Serialize region entry before putting in local cache
> 
>
> Key: GEODE-4769
> URL: https://issues.apache.org/jira/browse/GEODE-4769
> Project: Geode
>  Issue Type: Improvement
>  Components: regions
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This will prevent cache inconsistency when dealing with key or value objects 
> that have broken serialization.
> Test should create two members with a REPLICATE region. If one member 
> performs a put, but the serialization fails then the region entry currently 
> ends up existing in only the cache of the member that performed the put 
> locally. The change will prevent this from occurring.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-4769) Serialize region entry before putting in local cache

2018-03-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/GEODE-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16402135#comment-16402135
 ] 

ASF subversion and git services commented on GEODE-4769:


Commit 076d9abfc2aa2d365adfead168f05e054bea0248 in geode's branch 
refs/heads/develop from [~apa...@the9muses.net]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=076d9ab ]

GEODE-4769: fix tests using non-Serializable value objects

Cleanup all test classes touched for this change.


> Serialize region entry before putting in local cache
> 
>
> Key: GEODE-4769
> URL: https://issues.apache.org/jira/browse/GEODE-4769
> Project: Geode
>  Issue Type: Improvement
>  Components: regions
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This will prevent cache inconsistency when dealing with key or value objects 
> that have broken serialization.
> Test should create two members with a REPLICATE region. If one member 
> performs a put, but the serialization fails then the region entry currently 
> ends up existing in only the cache of the member that performed the put 
> locally. The change will prevent this from occurring.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-4769) Serialize region entry before putting in local cache

2018-03-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/GEODE-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16402134#comment-16402134
 ] 

ASF subversion and git services commented on GEODE-4769:


Commit be9d99da1bb9beb077e9339d0742706ba5d3b96b in geode's branch 
refs/heads/develop from [~apa...@the9muses.net]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=be9d99d ]

GEODE-4769: optional early serialization of EntryEvent key and new value

If enabled, Regions and Transactions will serialize key and value before
updating the local cache. This prevents inconsistency between distributed
members caused by any failure to serialize the key or value.

This feature is disabled by default. To enable it, specify the system
property geode.earlyEntryEventSerialization=true.


> Serialize region entry before putting in local cache
> 
>
> Key: GEODE-4769
> URL: https://issues.apache.org/jira/browse/GEODE-4769
> Project: Geode
>  Issue Type: Improvement
>  Components: regions
>Reporter: Kirk Lund
>Assignee: Kirk Lund
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This will prevent cache inconsistency when dealing with key or value objects 
> that have broken serialization.
> Test should create two members with a REPLICATE region. If one member 
> performs a put, but the serialization fails then the region entry currently 
> ends up existing in only the cache of the member that performed the put 
> locally. The change will prevent this from occurring.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)