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

[jira] [Created] (GEODE-9630) Gateway sender has public setter methods that should not be exposed

Udo Kohlmeyer created GEODE-9630:
------------------------------------

             Summary: Gateway sender has public setter methods that should not be exposed
                 Key: GEODE-9630
                 URL: https://issues.apache.org/jira/browse/GEODE-9630
             Project: Geode
          Issue Type: Improvement
          Components: wan
    Affects Versions: 1.15.0
            Reporter: Udo Kohlmeyer


Looking at the GatewaySender interface I noticed there are numerous public setter methods. Geode should not allow for the ability to directly change GatewaySender functionality without proper process.

This is largely to avoid the introduction of side effects into the system. A prime example of this is, the ability to call `setGroupTransactionEvents`, which from what I understand should NEVER be allowed to be changed in just 1 server instead of cluster-wide. This by writing a function and changing the setting on only 1 server can run the risk of the whole system behaving incorrectly causing failures which would be close to impossible to track down.




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