asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murtadha Hubail <hubail...@gmail.com>
Subject Re: incubator-asterixdb git commit: ASTERIXDB-1425 & ASTERIXDB-1450: Fix LogReader random reads
Date Sat, 21 May 2016 00:58:56 GMT
Hi Mike,

I will check it.

-Murtadha

> On May 20, 2016, at 5:48 PM, Michael Blow <mblow.apache@gmail.com> wrote:
> 
> Hi Murtadha, it looks like this change broke integration tests:
> 
> https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/198/ <https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/198/>
> https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/198/artifact/asterixdb/asterix-installer/target/asterix-installer-0.8.9-SNAPSHOT-binary-assembly/clusters/local/working_dir/logs/asterix_nc1.log
<https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/198/artifact/asterixdb/asterix-installer/target/asterix-installer-0.8.9-SNAPSHOT-binary-assembly/clusters/local/working_dir/logs/asterix_nc1.log>
> 
> May 20, 2016 10:17:11 PM org.apache.asterix.transaction.management.service.recovery.RecoveryManager
startRecovery
> INFO: starting recovery ...
> org.apache.asterix.common.exceptions.ACIDException: java.io.IOException: Log file with
id(2) was not found. Requested LSN: 4294967296
> 	at org.apache.asterix.transaction.management.service.logging.LogReader.getLogFile(LogReader.java:293)
> 	at org.apache.asterix.transaction.management.service.logging.LogReader.refillLogReadBuffer(LogReader.java:174)
> 	at org.apache.asterix.transaction.management.service.logging.LogReader.next(LogReader.java:92)
> 	at org.apache.asterix.transaction.management.service.recovery.RecoveryManager.startRecoverysAnalysisPhase(RecoveryManager.java:278)
> 	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:195)
> 	at org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.start(NCApplicationEntryPoint.java:142)
> 	at org.apache.hyracks.control.nc.NodeControllerService.startApplication(NodeControllerService.java:324)
> 	at org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:259)
> 	at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:48)
> Caused by: java.io.IOException: Log file with id(2) was not found. Requested LSN: 4294967296
> 	at org.apache.asterix.transaction.management.service.logging.LogManager.getLogFile(LogManager.java:552)
> 	at org.apache.asterix.transaction.management.service.logging.LogReader.getLogFile(LogReader.java:290)
> 	... 9 more
> Thanks,
> 
> -MDB
> On Fri, May 20, 2016 at 2:20 PM <mhubail@apache.org <mailto:mhubail@apache.org>>
wrote:
> Repository: incubator-asterixdb
> Updated Branches:
>   refs/heads/master 60e1699b4 -> 5842e472c
> 
> 
> ASTERIXDB-1425 & ASTERIXDB-1450: Fix LogReader random reads
> 
> - Fix random reads for truncated logs (ASTERIXDB-1425).
> - Fix log file partition size boundary check (ASTERIXDB-1450).
> - Fix deadlock between LogReader and LogFlusher.
> - Prevent checkpoints from deleting log files being accessed by rollbacks.
> - Make rollbacks start from LSN = max(txnFirstLSN, minMemoryLSN).
> - Make default log partition size 256MB instead of 2GB.
> 
> Change-Id: I1c75ca4a7c8fe197451126392389d4baecbd7e45
> Reviewed-on: https://asterix-gerrit.ics.uci.edu/867 <https://asterix-gerrit.ics.uci.edu/867>
> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu <mailto:jenkins@fulliautomatix.ics.uci.edu>>
> Reviewed-by: Ian Maxon <imaxon@apache.org <mailto:imaxon@apache.org>>
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/repo <http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/repo>
> Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/commit/5842e472 <http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/commit/5842e472>
> Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/tree/5842e472 <http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/tree/5842e472>
> Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/diff/5842e472 <http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/diff/5842e472>
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message