You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/12/15 09:51:00 UTC
[jira] [Commented] (ASTERIXDB-2497) Flush failed with
IllegalStateException: Low watermark should always be increasing
[ https://issues.apache.org/jira/browse/ASTERIXDB-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722082#comment-16722082 ]
ASF subversion and git services commented on ASTERIXDB-2497:
------------------------------------------------------------
Commit 440e3a56b6f7d888c07575a898b79fec8848e06a in asterixdb's branch refs/heads/master from [~mhubail]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=440e3a5 ]
[ASTERIXDB-2497][TX] Ensure Log Record Flush LSN is Set
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Set the flush LSN of log records before giving it
to the log flusher to avoid reading invalid value
if the flush is completed before setting the LSN.
- Ensure log record LSN is thread-safe.
- Warn in case of a flush with LSN = 0.
Change-Id: Ifc605c2d794339a3dc5004b462eca50ec103c717
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3087
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mh...@apache.org>
Reviewed-by: Till Westmann <ti...@apache.org>
> Flush failed with IllegalStateException: Low watermark should always be increasing
> ----------------------------------------------------------------------------------
>
> Key: ASTERIXDB-2497
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2497
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: TX - Transactions
> Affects Versions: 0.9.4
> Reporter: Murtadha Hubail
> Assignee: Murtadha Hubail
> Priority: Major
> Fix For: 0.9.5
>
>
> Encountered intermittent disk component flush failure with the following exception:
>
> {code:java}
> java.lang.IllegalStateException: Low watermark should always be increasing
> at org.apache.asterix.common.storage.IndexCheckpoint.next(IndexCheckpoint.java:60)
> at org.apache.asterix.app.nc.IndexCheckpointManager.flushed(IndexCheckpointManager.java:87)
> at org.apache.asterix.common.ioopcallbacks.LSMIOOperationCallback.addComponentToCheckpoint(LSMIOOperationCallback.java:136)
> at org.apache.asterix.common.ioopcallbacks.LSMIOOperationCallback.afterFinalize(LSMIOOperationCallback.java:123)
> at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.doIo(LSMHarness.java:544)
> at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.flush(LSMHarness.java:513)
> at org.apache.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.flush(LSMTreeIndexAccessor.java:122)
> at org.apache.hyracks.storage.am.lsm.common.impls.FlushOperation.call(FlushOperation.java:38)
> at org.apache.hyracks.storage.am.lsm.common.impls.FlushOperation.call(FlushOperation.java:29)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)