You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/22 19:58:00 UTC

[jira] [Updated] (GEODE-9627) Add service loader interface to register DataSerializableFixedIDs

     [ https://issues.apache.org/jira/browse/GEODE-9627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated GEODE-9627:
----------------------------------
    Labels: pull-request-available  (was: )

> Add service loader interface to register DataSerializableFixedIDs
> -----------------------------------------------------------------
>
>                 Key: GEODE-9627
>                 URL: https://issues.apache.org/jira/browse/GEODE-9627
>             Project: Geode
>          Issue Type: Improvement
>          Components: core, lucene, redis
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>              Labels: pull-request-available
>
> External modules that require registering DataSerializableFixedIDs typically do so as part of their service loading initialization step. However, it seems that under some circumstances it may be necessary to have the DSFIDs be available even before the service is loaded as peers may be sending DSFID values even as a member is just starting up. Thus the DSFID should be made available even before a member is available to receive peer messages.
> This change introduces a service loader interface, {{DSFIDLoader}} which is called as part of the static initialization block in {{InternalDataSerializer}}. This will ensure that all reguired DSFIDs are available almost as soon as the JVM starts.



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