GitHub user upthewaterspout opened a pull request: https://github.com/apache/geode/pull/658
GEODE-3315: Replaced PreferBytes... with VMCachedDeserializable When getting a HAEventWrapper as part of a GII, make sure that we store the wrapper in a VMCachedDeserializable. This object needs to have a reference to the HAContainer. If PREFER_SERIALIZED is set to true, we we using a PreferBytesSerializable which would always create new copy of the HAEventWrapper. Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)? - [ ] Is your initial contribution a single, squashed commit? - [ ] Does `gradlew build` run cleanly? - [ ] Have you written or updated unit tests to verify your changes? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? ### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. If you need help, please send an email to dev@geode.apache.org. You can merge this pull request into a Git repository by running: $ git pull https://github.com/upthewaterspout/incubator-geode feature/GEODE-3315 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/geode/pull/658.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #658 ---- commit 68687f8f97bda1ba82ba1c192a6601b16ba7a67c Author: Barry Oglesby <bogle...@pivotal.io> Date: 2017-06-22T20:52:24Z GEODE-3315: Replaced PreferBytes... with VMCachedDeserializable When getting a HAEventWrapper as part of a GII, make sure that we store the wrapper in a VMCachedDeserializable. This object needs to have a reference to the HAContainer. If PREFER_SERIALIZED is set to true, we we using a PreferBytesSerializable which would always create new copy of the HAEventWrapper. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---