You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr Polovtcev (Jira)" <ji...@apache.org> on 2021/11/15 16:52:00 UTC

[jira] [Updated] (IGNITE-15916) "Any" listeners do not get notified for all keys in Polymorphic Configurations

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

Aleksandr Polovtcev updated IGNITE-15916:
-----------------------------------------
    Description: Polymorphic configuration allows having multiple inheritors of a base schema. There also exists a feature that allows to add listeners for changes to "any" configuration keys. This is implemented using a dummy configuration inside the generated classes, where all such listeners get registered. However, this does not work for Polymorphic schemas, because there's no way to know the full set of configuration keys in advance, since the actual type of a Polymorphic configuration instance is not known at the start. This leads to a limitation: changes to subclass-specific keys are not propagated to "any" listeners. 

> "Any" listeners do not get notified for all keys in Polymorphic Configurations
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-15916
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15916
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Polovtcev
>            Priority: Minor
>              Labels: ignite-3
>
> Polymorphic configuration allows having multiple inheritors of a base schema. There also exists a feature that allows to add listeners for changes to "any" configuration keys. This is implemented using a dummy configuration inside the generated classes, where all such listeners get registered. However, this does not work for Polymorphic schemas, because there's no way to know the full set of configuration keys in advance, since the actual type of a Polymorphic configuration instance is not known at the start. This leads to a limitation: changes to subclass-specific keys are not propagated to "any" listeners. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)