ModeShape/modeshape — pull request #760 by hchiorean (2013-03-28 14:38:05+00:00)
Title: Mode 1836 - Workaround for replicated cluster with eviction enabled

This PR contains 2 commits:
- one which simplifies the over-complicated "run operation once in a repository" code. It turns out we already have the "is current node initializing in a cluster" information, so all the code really needs to do is to create the "lock" node so that the operation is executed only once, when the repository starts up for the first time.
- one which adds a workaround for the real issue: if eviction is enabled, we use full deltas as opposed to partial deltas.