SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Search engine transactionProcessor already committed

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: Dec 22, 2011 8:27 PM Last Post By: miyao lin
gina

Posts: 8
Registered: 3/17/09
Search engine transactionProcessor already committed
Posted: Apr 2, 2009 6:53 PM
 
  Click to reply to this thread Reply
I'm not quite sure what the below error means, so I'm not sure how to fix it. We are using 2.2 RC2.

2009-04-02 09:38:42,283 INFO STDOUT 173408 pool-2-thread-4 ERROR org.compass.spring.transaction.SpringSyncTransaction - Exception occured when sync with transaction
org.compass.core.engine.SearchEngineException: Search engine transactionProcessor already committed while trying to perform an operation
at org.compass.core.lucene.engine.LuceneSearchEngine.verifyWithinTransaction(LuceneSearchEngine.java:137)
at org.compass.core.lucene.engine.LuceneSearchEngine.rollback(LuceneSearchEngine.java:171)
at org.compass.spring.transaction.SpringSyncTransaction$SpringTransactionSynchronization.afterCompletion(SpringSyncTransaction.java:251)
at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:133)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:904)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:879)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:782)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:730)
at org.springframework.batch.core.step.item.ItemOrientedStep.processRollback(ItemOrientedStep.java:421)
at org.springframework.batch.core.step.item.ItemOrientedStep.access$1000(ItemOrientedStep.java:67)
at org.springframework.batch.core.step.item.ItemOrientedStep$2.doInIteration(ItemOrientedStep.java:327)
at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:346)
at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:212)
at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143)
at org.springframework.batch.core.step.item.ItemOrientedStep.doExecute(ItemOrientedStep.java:236)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:172)
at org.springframework.batch.core.job.SimpleJob.execute(SimpleJob.java:103)
at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:86)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:81)
at com.admin.search.ucd.index.UcdIndex$SearchIndexWorker.run(UcdIndex.java:74)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
2009-04-02 09:38:42,289 ERROR http://org.springframework.batch.core.step.AbstractStep Encountered an error executing the step: class org.compass.core.engine.SearchEngineException: Processor [1]: Failed to add job
[Job Update [alias platform uid platform#5662-foo-foo#] Resource [{platform} stored/uncompressed,indexed,omitNorms<alias:platform>,[stored/uncompressed,indexed,omitNorms
,omitTf<$/platform/id:5662-foo-foo>],stored/uncompressed,indexed<userId:5662>,stored/uncompressed,indexed<platformId:Temp>,[stored/uncompressed,indexed,tokenized<fi
rstName:John>],stored/uncompressed,indexed,tokenized<lastName:Doe>,stored/uncompressed,indexed<gender:M>,stored/uncompressed,indexed<birthDate:1987-03-22-00-00-00-0-AM>,[stored/uncompressed,indexed<
country:USA>],stored/uncompressed,indexed<state:NY>,stored/uncompressed,indexed<email:john@doe.com>,stored/uncompressed,indexed<isActive:true>,[stored/uncompressed,indexed<dateLastLogin:2007-11
-16-00-00-00-0-AM>],stored/uncompressed,indexed<regCommunityId:foo>,stored/uncompressed,indexed<dateCreated:2002-11-25-00-00-00-0-AM>,[stored/uncompressed,indexed,tokenized<communit
yStatusCode:1>],stored/uncompressed,indexed<communityStatusCodeSort:1>,stored/uncompressed,indexed,tokenized<userName:Foo>,stored/uncompressed,indexed,tokenized<communityId:foo>
,stored/uncompressed,indexed<communityIdSort:foo>,stored/uncompressed,indexed<communityDateCreated:2002-11-25-00-00-00-0-AM>,[stored/uncompressed,indexed,omitNorms,omitTf<$/uid:plat
form#5662-foo-foo#>]]] after 10000ms and backlog size 100
org.compass.core.engine.SearchEngineException: Processor [1]: Failed to add job [Job Update [alias platform uid platform#5662-foo-foo#] Resource [{platform} [stored/uncompr
essed,indexed,omitNorms<alias:platform>],stored/uncompressed,indexed,omitNorms,omitTf<$/platform/id:5662-foo-foo>,stored/uncompressed,indexed<userId:5662>,[stored/uncompres
sed,indexed<platformId:foo>],stored/uncompressed,indexed,tokenized<firstName:John>,stored/uncompressed,indexed,tokenized<lastName:Doe>,stored/uncompressed,indexed<gender:M>,[stored/uncompre
ssed,indexed<birthDate:1987-03-22-00-00-00-0-AM>],stored/uncompressed,indexed<country:USA>,stored/uncompressed,indexed<state:NY>,stored/uncompressed,indexed<email:john@doe.com>,[stored/uncompre
ssed,indexed<isActive:true>],stored/uncompressed,indexed<dateLastLogin:2007-11-16-00-00-00-0-AM>,stored/uncompressed,indexed<regCommunityId:foo>,[stored/uncompressed,indexed<dateCre
ated:2002-11-25-00-00-00-0-AM>],stored/uncompressed,indexed,tokenized<communityStatusCode:1>,stored/uncompressed,indexed<communityStatusCodeSort:1>,stored/uncompressed,indexed,tokenized<userName:Foo>
,stored/uncompressed,indexed,tokenized<communityId:foo>,stored/uncompressed,indexed<communityIdSort:foo>,[stored/uncompressed,indexed<communityDateCreated:2002
-11-25-00-00-00-0-AM>],stored/uncompressed,indexed,omitNorms,omitTf<$/uid:platform#5662-foo-foo#>]] after 10000ms and backlog size 100
at org.compass.core.lucene.engine.transaction.support.AbstractConcurrentTransactionProcessor$Processor.addJob(AbstractConcurrentTransactionProcessor.java:496)
at org.compass.core.lucene.engine.transaction.support.AbstractConcurrentTransactionProcessor.update(AbstractConcurrentTransactionProcessor.java:168)
at org.compass.core.lucene.engine.LuceneSearchEngine.createOrUpdate(LuceneSearchEngine.java:285)
at org.compass.core.lucene.engine.LuceneSearchEngine.save(LuceneSearchEngine.java:263)
at org.compass.core.impl.DefaultCompassSession.save(DefaultCompassSession.java:489)
at org.compass.core.impl.DefaultCompassSession.save(DefaultCompassSession.java:473)
at com.admin.search.ucd.index.UcdIndexWriter.write(UcdIndexWriter.java:48)
at org.springframework.batch.item.support.DelegatingItemWriter.write(DelegatingItemWriter.java:45)
at org.springframework.batch.core.step.item.BatchListenerFactoryHelper$2.write(BatchListenerFactoryHelper.java:99)
at org.springframework.batch.core.step.item.SimpleItemHandler.doWrite(SimpleItemHandler.java:105)
at org.springframework.batch.core.step.item.SimpleItemHandler.write(SimpleItemHandler.java:97)
at org.springframework.batch.core.step.item.SimpleItemHandler.handle(SimpleItemHandler.java:71)
at org.springframework.batch.core.step.item.ItemOrientedStep$3.doInIteration(ItemOrientedStep.java:391)
at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:346)
at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:212)
at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143)
at org.springframework.batch.core.step.item.ItemOrientedStep.processChunk(ItemOrientedStep.java:382)
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: Search engine transactionProcessor already committed
Posted: Apr 3, 2009 5:34 AM   in response to: gina in response to: gina
 
  Click to reply to this thread Reply
It seems like the transaction was committed and then it is rolled back.
Landon

Posts: 20
Registered: 1/9/08
Re: Search engine transactionProcessor already committed
Posted: Mar 23, 2010 4:14 PM   in response to: Shay Banon in response to: Shay Banon
 
  Click to reply to this thread Reply
I am having this same problem. Indeed, the transaction was committed before it was rolled back. This is because the compass.transaction.commitBeforeCompletion flag is true, which causes the tx to be committed in the beforeCompletion event, which is called during a rollback!

Landon
anitas

Posts: 95
Registered: 11/20/11
Re: Search engine transactionProcessor already committed
Posted: Dec 22, 2011 8:21 PM   in response to: gina in response to: gina
 
  Click to reply to this thread Reply
I love this article, it's very well.oakley sunglasses saleFake Oakley Flak Jacket Sunglassesreplica Oakley Polarized SunglassesOakley Batwolf sunglasses outletoakley sunglasses wholesaleReplica Oakley Flak Jacket SunglassesOakley Restless SunglassesOakley Dispatch sunglassesreplica oakley sunglassesReplica Oakley Fuel Cell Sunglassesoakley scalpel sunglassesOakley Flak Jacket sunglassesreplica Oakley Commit SQ SunglassesFake Oakley GascanOakley Split Jacket SunglassesOakley Frogskins sunglasses outletoakley fives squared sunglassesFake Oakley Polarized Sunglassesoakley straight jacket sunglassesOakley Gascan sunglassesOakley Half Jacket SunglassesReplica Oakley Polarized SunglassesOakley Ten SunglassesFake Oakley Hijinx sunglassesreplica Oakley Half Wire SunglassesFake Oakley RadarOakley Zero SunglassesOakley Jawbone sunglassesreplica Oakley Half X SunglassesReplica Oakley sunglassesOakley Juliet sunglassesOakley Hijinx SunglassesCheap oakleys Commit SQ SunglassesOakley Jupiter sunglassesOakley Holbrook SunglassesReplica Oakley Fives SquaredOakley M Frame sunglasses outletoakley jawbone sunglassesReplica Oakley Flak JacketOakley Minute sunglassesoakley juliet sunglassesReplica Oakley FrogskinsOakley Monster Dog sunglassesreplica Oakley Jupiter SunglassesReplica Oakley Fuel CellOakley Oil Rig sunglassesOakley Jury SunglassesReplica Oakley GascanOakley Pit Boss sunglassesoakley m frame sunglassesCheap oakleys Half Wire SunglassesOakley Polarized sunglasses outletoakley minute sunglassesCheap oakleys Half X SunglassesOakley Radar sunglassesreplica oakley minute sunglassesCheap oakleys Hijinx SunglassesOakley Restless sunglassesoakley monster dog sunglassesCheap oakleys Jawbone SunglassesOakley Scalpel sunglassesOakley Necessity SunglassesCheap oakleys Oil Rig SunglassesOakley Straight Jacket sunglassesoakley oil rig sunglassesCheap oakleys Pit Boss SunglassesOakley Ten sunglassesOakley Pit Bull SunglassesCheap oakleys Radar SunglassesOakley Zero sunglassesOakley Plaintiff SunglassesCheap oakleys Straight Jacket Sunglasses
miyao lin

Posts: 97
Registered: 11/20/11
Re: Search engine transactionProcessor already committed
Posted: Dec 22, 2011 8:27 PM   in response to: gina in response to: gina
 
  Click to reply to this thread Reply
It really a good article.cheap oakley sunglassesFake Oakley Flak JacketOakley Half X sunglassesoakley eyewearOakley Antix sunglassesoakley sunglassesFake Oakley Fuel CellOakley Holbrook sunglassesoakley sunglasses discountedOakley Batwolf sunglassesOakley Antix SunglassesFake Oakley Fuel Cell Sunglassesoakley batwolf sunglassesOakley Bottlecap sunglassesOakley Bottlecap SunglassesFake Oakley Gascan SunglassesOakley Commit SQ SunglassesOakley Commit SQ sunglassesoakley five squared sunglassesFake Oakley PolarizedOakley Half X SunglassesOakley Dispatch sunglasses outletOakley Jupiter SunglassesOakley Encounter sunglassescheap oakley minute sunglassesCheap oakleys Bottlecap SunglassesOakley Pit Boss SunglassesCheap oakleys Fives Squared Sunglassesreplica Oakley Pit Boss SunglassesOakley Enduring Pace sunglassesOakley Polarized SunglassesOakley Fives Squared sunglassesoakley crosshair sunglassesCheap oakleys Flak Jacket SunglassesOakley Dangerous SunglassesCheap oakleys Frogskins SunglassesOakley Dart SunglassesFake Oakley Flak Jacket sunglassesoakley dispatch sunglassesOakley Forsake sunglassesOakley Encounter SunglassesCheap oakleys Fuel Cell SunglassesOakley Enduring Pace SunglassesCheap oakleys Gascan SunglassesOakley Fast Jacket SunglassesOakley Frogskins sunglassesOakley Fives SunglassesFake Oakley Gascan sunglassesoakley flak jacket sunglassesFake Oakley DispatchOakley Forsake SunglassesFake Oakley Fast JacketOakley Frogskins SunglassesOakley Hijinx sunglassesoakley fuel cell sunglassesOakley M Frame sunglassesoakley gascan sunglassesFake Oakley Five SquaredOakley Half Wire SunglassesFake Oakley FrogskinsFake Oakley Half XFake Oakley Polarized sunglassesFake Oakley HijinxOakley Polarized sunglassesFake Oakley HolbrookFake Oakley Straight Jacket sunglassesFake Oakley JupiterOakley Fuel Cell sunglassesFake Oakley JuryOakley Half Jacket sunglassesFake Oakley Monster DogOakley Half Wire sunglasses
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums