[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15612986#comment-15612986
 ] 

ASF subversion and git services commented on ASTERIXDB-1710:
------------------------------------------------------------

Commit 82a831d26d8c3c45478240f77dab9cf1b4c9eb79 in asterixdb's branch 
refs/heads/master from [~imaxon]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=82a831d ]

ASTERIXDB-1710: Redo fails on WAIT log record

Simple fix :)

It would be best to have a test for this (and all other logtypes),
but the LogManager will have to be maniupulated into generating the record
for this specifically because the conditions upon which it happens naturally
are hard to encounter.

Change-Id: I4443b716bc791878fabbbf3b374fc7c7c592668f
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1315
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <hubail...@gmail.com>


> Recovery redo fails whenever deadlock-free locking protocol invoked
> -------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1710
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1710
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Ian Maxon
>
> The WAIT log isn't handled in the switch/case for the redo phase. It should 
> get through analysis fine. The stack will be something like this: 
> org.apache.asterix.common.exceptions.ACIDException: Unsupported LogType: 6
>       at 
> org.apache.asterix.transaction.management.service.recovery.RecoveryManager.startRecoveryRedoPhase(RecoveryManager.java:412)
>       at 
> org.apache.asterix.transaction.management.service.recovery.RecoveryManager.replayPartitionsLogs(RecoveryManager.java:202)
>       at 
> org.apache.asterix.transaction.management.service.recovery.RecoveryManager.startRecovery(RecoveryManager.java:194)
>       at 
> org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.start(NCApplicationEntryPoint.java:151)
>       at 
> org.apache.hyracks.control.nc.NodeControllerService.startApplication(NodeControllerService.java:342)
>       at 
> org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:271)
>       at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:48)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to