PDX doesn’t support partial writes. If you need that capability look at DataSerializable with org.apache.geode.Delta.
Anthony > On Jan 18, 2018, at 10:25 AM, Xu, Nan <[email protected]> wrote: > > Thanks, that’s a good idea. > > Does geode support read and write part of the object? I mean, if I have an > object saved in geode with 3 properties, a,b,c. can I read only a, and not b > and c, seems the pdx allow me to do this. But what about write? Write only a > and leave b and c alone? > > Thanks, > Nan > > From: Michael Stolz [mailto:[email protected]] > Sent: Wednesday, January 17, 2018 6:05 PM > To: [email protected] > Subject: Re: sync up 2 data centers > > You can write a function to "touch" (read get/put) the entries that didn't > get replicated and run it on the DC1 side after the sender has been started, > and they will be replicated automatically. > > -- > Mike Stolz > Principal Engineer, GemFire Product Lead > Mobile: +1-631-835-4771 > Download the new GemFire book here. > <https://urldefense.proofpoint.com/v2/url?u=https-3A__content.pivotal.io_ebooks_scaling-2Ddata-2Dservices-2Dwith-2Dpivotal-2Dgemfire&d=DwMFaQ&c=SFszdw3oxIkTvaP4xmzq_apLU3uL-3SxdAPNkldf__Q&r=HB5LZowSGF4DiMmOUsCX6Q&m=4h6NQ48jNKN2ToXGD_3n-c8jjcwd55-9w2SXFyDjitg&s=fWObLNnWIRPhx5krsmjSEV2aavrDQxRykU6P-ti1KDw&e=> > > On Wed, Jan 17, 2018 at 12:56 PM, Xu, Nan <[email protected] > <mailto:[email protected]>> wrote: > If the gateway sender was not running and new value get inserted to DC1, is > there an easy way to make DC2 sync up? Any suggestion? I can think of a > query based on timestamp and Export then import. Something better than this? > > Thanks, > Nan > This message, and any attachments, is for the intended recipient(s) only, may > contain information that is privileged, confidential and/or proprietary and > subject to important terms and conditions available > athttp://www.bankofamerica.com/emaildisclaimer > <http://www.bankofamerica.com/emaildisclaimer>. If you are not the intended > recipient, please delete this message. > > This message, and any attachments, is for the intended recipient(s) only, may > contain information that is privileged, confidential and/or proprietary and > subject to important terms and conditions available at > http://www.bankofamerica.com/emaildisclaimer > <http://www.bankofamerica.com/emaildisclaimer>. If you are not the intended > recipient, please delete this message.
