Nikita Amelchev created IGNITE-28978:
----------------------------------------

             Summary: 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


{{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