apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Weise (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (APEXCORE-263) Checkpoint Can Be Performed Twice For The Same Window
Date Thu, 17 Dec 2015 01:57:46 GMT

     [ https://issues.apache.org/jira/browse/APEXCORE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Weise resolved APEXCORE-263.
-----------------------------------
    Resolution: Fixed

> Checkpoint Can Be Performed Twice For The Same Window
> -----------------------------------------------------
>
>                 Key: APEXCORE-263
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-263
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Timothy Farkas
>            Assignee: Timothy Farkas
>             Fix For: 3.3.0
>
>
> This can happen if any application is configured in the following way
>   <property>
>     <name>dt.application.DoubleCheckpoint.attr.CHECKPOINT_WINDOW_COUNT</name>
>     <value>1</value>
>   </property>
>   <property>
>     <name>dt.operator.*.attr.CHECKPOINT_WINDOW_COUNT</name>
>     <value>2</value>
>   </property>
> When configured like this what will happen is that in the first window the checkpoint
control tuple is sent to an operator so the doCheckpoint flag will be set. Then at the end
of the second window the checkpoint is performed. Then the checkpoint control tuple is received
immediately after the end window triggering the checkpoint to be performed again
> A simple test app which illustrates this problem is here:
>  https://github.com/ilooner/doubleCheckpoint



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

Mime
View raw message