[
https://issues.apache.org/jira/browse/OAK-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14993525#comment-14993525
]
Michael Dürig commented on OAK-3529:
------------------------------------
The current contract says: "Will return a unique number per instance across the
cluster. It will only make its best effort to preserve the same number across
restarts but it must be unique across the cluster."
Making it persist across restarts is asking for trouble and I think is hardly
implementable. "Best effort" OTOH helps keeping the set of instance ids
relatively bounded, which is a desirable property e.g. for the counter
implementation.
> NodeStore API should expose an Instance ID
> ------------------------------------------
>
> Key: OAK-3529
> URL: https://issues.apache.org/jira/browse/OAK-3529
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Davide Giannella
> Assignee: Davide Giannella
> Fix For: 1.4
>
> Attachments: OAK-3529-1.patch, OAK-3529-2.patch
>
>
> For better leveraging cluster oriented algorithm: discovery, atomic
> operations; it would be very helpful if the NodeStore could expose a
> unique instance id.
> This can be the same as a cluster ID.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)