Oh, Pardeep: I don't think lucene is a advanced storage app to support rollback to a history check point (which would be support only in distributed system, such as tow phase commit or transactional web services)
yours On Friday, November 12, 2010 11:25:45 am Pradeep Singh wrote: > In some cases you can rollback to a named checkpoint. I am not too sure but > I think I read in the lucene documentation that it supported named > checkpointing. > > On Thu, Nov 11, 2010 at 7:12 PM, gengshaoguang <gengshaogu...@ceopen.cn>wrote: > > Hi, Kouta: > > Any data store does not support rollback AFTER commit, rollback works > > only BEFORE. > > > > On Friday, November 12, 2010 12:34:18 am Kouta Osabe wrote: > > > Hi, all > > > > > > I have a question about Solr and SolrJ's rollback. > > > > > > I try to rollback like below > > > > > > try{ > > > server.addBean(dto); > > > server.commit; > > > }catch(Exception e){ > > > > > > if (server != null) { server.rollback();} > > > > > > } > > > > > > I wonder if any Exception thrown, "rollback" process is run. so all > > > data would not be updated. > > > > > > but once commited, rollback would not be well done. > > > > > > rollback correctly will be done only when "commit" process will not? > > > > > > Solr and SolrJ's rollback system is not the same as any RDB's rollback?