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

ASF GitHub Bot commented on GEODE-8968:
---------------------------------------

gaussianrecurrence opened a new pull request #770:
URL: https://github.com/apache/geode-native/pull/770


    - In those scenarios in which Pdx serialization occurs while
      PdxTypeRegistry is being cleaned up, it happened that NC crashed
      because it couldn't find the PdxType.
    - This commit adds retries to Pdx serialization, and in case retries
      are exhausted, UnknownPdxTypeException is thrown, so it can be
      handled by the user.
    - Implemented IT to verify this behaviour.
    - TODO. Enable IT when PR #715 gets merged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> PdxTypeRegistry clean up causes a coredump
> ------------------------------------------
>
>                 Key: GEODE-8968
>                 URL: https://issues.apache.org/jira/browse/GEODE-8968
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>    Affects Versions: 1.14.0
>            Reporter: Mario Salazar de Torres
>            Priority: Major
>
> *GIVEN* a client/server that with PDX serialization
> *WHEN* the client looses connection towards the cluster
> *AND* PdxTypeRegistry is cleaned up
> *WHILE* a PDX instance is being serialized
> *THEN* a coredump occurs
> ----
> *Additional information:*
> As it seems PdxHelper::serializePdx calls toData -> toDataMutable -> 
> getPdxType and the later part returns a nullptr if the registry was cleaned 
> up in the process.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to