[
https://issues.apache.org/jira/browse/OAK-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105301#comment-15105301
]
Tomek Rękawek commented on OAK-3892:
------------------------------------
Good idea. Why don't we create a {{ReentrantLock}} directly?
> RDBDocumentStore: StripedNodeDocumentLocks - special case root?
> ---------------------------------------------------------------
>
> Key: OAK-3892
> URL: https://issues.apache.org/jira/browse/OAK-3892
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: rdbmk
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Attachments: stripes.diff
>
>
> {{StripedNodeDocumentLocks}} currently handles all document IDs the same way.
> I assume that we see a lot of updates on {{0:/}}, though. These updates would
> be blocked if another different ID fell into the same lock stripe (and was
> being updated).
> We currently have 4096, so the likelihood isn't that big; on the other hand,
> a change doesn't seem to be risky.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)