Hi everyone,

Recently, we ran into this issue on the native client: 
https://issues.apache.org/jira/browse/GEODE-9968
Which, in a summarized way, causes PdxSerialization implementation to fail to 
deserialize new fields.
RCA led us to localToRemote mapping 
(https://github.com/apache/geode-native/blob/44abff89f65f9c1bc72f504f3d57800dd1e48cbc/cppcache/src/PdxRemoteReader.cpp#L48),
 which implementation is failing for new fields.
But after checking the Java code for the equivalent part 
(https://github.com/apache/geode/blob/109fdd88a41d21c53f8f3da3b1dff5677afab3d2/geode-core/src/main/java/org/apache/geode/pdx/internal/PdxReaderImpl.java#L119),
 we've seen that there is no mapping there and the fields are fetched by name 
instead.

So, my question is: Do you know what's the purpose of this localToRemote map 
(my guess is that it's an optimization)?
And why this localToRemote map does not exist on the Java implementation? Just 
misalignment? Or did you find any problematic issue with the approach?

Thanks!
/Mario

Reply via email to