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

Nikita Amelchev updated IGNITE-28978:
-------------------------------------
    Fix Version/s: 2.19

> Make MDC-aware discovery ring mode testable in a single JVM
> -----------------------------------------------------------
>
>                 Key: IGNITE-28978
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28978
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Nikita Amelchev
>            Assignee: Nikita Amelchev
>            Priority: Minor
>             Fix For: 2.19
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{TcpDiscoveryNodesRing}} caches the {{MDC_AWARE_RING}} system property in a 
> static final field, so its value is fixed when the class is initialized. This 
> prevents JUnit tests from verifying both MDC-aware and legacy ring ordering 
> in the same JVM. Store the flag per ring instance while preserving the 
> current default and keeping it immutable for the ring lifetime.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to