On Thu, 2016-10-27 at 12:53 +0000, Tomek Rekawek wrote: > Hi Robert, > > > On 27 Oct 2016, at 14:11, Robert Munteanu <[email protected]> > > wrote: > > > > If we have referenceable nodes or versionable nodes in the > > 'private' > > repository then it will be inconsistent, as they point to data > > maintained under the 'global' store. So we need to prevent such > > 'corrupt' mounts from being used. > > Versionable - agreed, we can’t have mix:versionable in the “private” > repository. > > Referenceable - not sure here. All nt:files are refernceable by > default. Maybe it would be enough to forbid cross-mount references > and rebuild the UUID index if the multiplexing setup changes?
That's one approach. Another is to use the oak:resource node type instead of nt:resource. But the point is that we need these checks in place. I think Chetan was looking into the oak:resource independent of the multiplexing initiative so we might inherit it for free. But AFAICT this is the maximal check list: - no versionable nodes - no referenceable nodes We can add more if needed in the future anyway. Robert
