asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yingyi Bu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1942) RecoveryManager undo fails when upsert gets interrupted
Date Tue, 13 Jun 2017 06:52:00 GMT
Yingyi Bu created ASTERIXDB-1942:
------------------------------------

             Summary: RecoveryManager undo fails when upsert gets interrupted
                 Key: ASTERIXDB-1942
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1942
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Yingyi Bu
            Assignee: Abdullah Alamoudi


{noformat}
Exception in thread "Worker:asterix_nc1" java.lang.Error: org.apache.asterix.common.exceptions.ACIDException:
Could not complete rollback! System is in an inconsistent state
	at org.apache.asterix.runtime.job.listener.JobEventListenerFactory$1.jobletFinish(JobEventListenerFactory.java:61)
	at org.apache.hyracks.control.nc.Joblet.performCleanup(Joblet.java:316)
	at org.apache.hyracks.control.nc.Joblet.cleanup(Joblet.java:308)
	at org.apache.hyracks.control.nc.work.CleanupJobletWork.run(CleanupJobletWork.java:74)
	at org.apache.hyracks.control.common.work.WorkQueue$WorkerThread.run(WorkQueue.java:127)
Caused by: org.apache.asterix.common.exceptions.ACIDException: Could not complete rollback!
System is in an inconsistent state
	at org.apache.asterix.transaction.management.service.transaction.TransactionManager.abortTransaction(TransactionManager.java:73)
	at org.apache.asterix.transaction.management.service.transaction.TransactionManager.completedTransaction(TransactionManager.java:132)
	at org.apache.asterix.runtime.job.listener.JobEventListenerFactory$1.jobletFinish(JobEventListenerFactory.java:58)
	... 4 more
Caused by: java.lang.IllegalStateException: Failed to undo
	at org.apache.asterix.app.nc.RecoveryManager.undo(RecoveryManager.java:702)
	at org.apache.asterix.app.nc.RecoveryManager.rollbackTransaction(RecoveryManager.java:650)
	at org.apache.asterix.transaction.management.service.transaction.TransactionManager.abortTransaction(TransactionManager.java:65)
	... 6 more
Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: HYR0037: Index key not
found
	at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:49)
	at org.apache.hyracks.storage.am.btree.frames.BTreeNSMLeafFrame.findDeleteTupleIndex(BTreeNSMLeafFrame.java:139)
	at org.apache.hyracks.storage.am.btree.impls.BTree.deleteLeaf(BTree.java:530)
	at org.apache.hyracks.storage.am.btree.impls.BTree.performOp(BTree.java:700)
	at org.apache.hyracks.storage.am.btree.impls.BTree.access$700(BTree.java:68)
	at org.apache.hyracks.storage.am.btree.impls.BTree$BTreeAccessor.insertUpdateOrDelete(BTree.java:949)
	at org.apache.hyracks.storage.am.btree.impls.BTree$BTreeAccessor.delete(BTree.java:933)
	at org.apache.hyracks.storage.am.btree.impls.BTree$BTreeAccessor.delete(BTree.java:859)
	at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTree.modify(LSMBTree.java:217)
	at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.modify(LSMHarness.java:418)
	at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.forceModify(LSMHarness.java:358)
	at org.apache.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.forcePhysicalDelete(LSMTreeIndexAccessor.java:169)
	at org.apache.asterix.app.nc.RecoveryManager.undo(RecoveryManager.java:694)
	... 8 more
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message