jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <mreut...@adobe.com>
Subject RE: Consistency aka Isolation Level (was: OAK-638 Avoid branch/merge for small commits)
Date Wed, 06 Mar 2013 08:23:11 GMT
Hi, 

> Just to further clarify, the approach where private branches are rebase
> and the merged into trunk is not too different from what the initial
> implementation of Microkernel.commit() (H2) tried to do: rebase and then
> merge. The difference is, that we can "take rebase out of the lock" if
> we perform it on a private branch.

I have the impression you assume a specific implementation. some
implementation could simply do what databases usually do and only
synchronize (or lock) on the nodes they write to. concurrent writes
in distinct areas of the repository will not block in this case.

regards
 marcel

Mime
View raw message