You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/01/14 18:46:40 UTC

[jira] [Created] (OAK-3885) enhance stability of clusterNodeInfo's machineId

Julian Reschke created OAK-3885:
-----------------------------------

             Summary: enhance stability of clusterNodeInfo's machineId
                 Key: OAK-3885
                 URL: https://issues.apache.org/jira/browse/OAK-3885
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: documentmk
            Reporter: Julian Reschke


We currently use network interface information to derive a unique machine ID (ClusterNodeInfo.getMachineId()). Among the 6-byte addresses, we use the "smallest".

At least on Windows machines, connecting through a VPN inserts a new low machineID into the list, causing the machineID to vary depending on whether the VPN is connected or not.

I don't see a clean way to filter these addresses. We *could* inspect the names of the interfaces and treat those containing "VPN" or "Virtual" to be less relevant. Of course that would be an ugly hack, but it would fix the problem for now.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)