jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matthew.l.donnelly" <mdonne...@proteuseng.com>
Subject Re: AW: NoSql Support
Date Tue, 16 Aug 2011 13:51:27 GMT
Cosmin,

There is a method in HbasePersistenceManager where it looks like transaction
functionality is needed:

public synchronized void store(final ChangeLog changeLog) throws
ItemStateException

pseudocode
try{
    conHelper.startBatch();
    super.store(changeLog);
    conHelper.endBatch(true);
}catch(Exception e){
    conHelper.endBatch(false);
}


I just looked through the AbstractBundlePersistenceManager(which
HbasePersistenceManager impls).  The store method appears to be performing
operations that are cached within the parent class, by making calls out to
the child.  Operations that the parent is calling include, loadBundle,
storeBundle, destroyBundle.

Bundles are being stored in an HTable.

We need to be able to reverse any store/destroys, should the transaction
fail.  

Let me know if this makes sense or not.

Thanks,
Matt


--
View this message in context: http://jackrabbit.510166.n4.nabble.com/NoSql-Support-tp3726565p3747262.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

Mime
View raw message