You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Thomas Weise (JIRA)" <ji...@apache.org> on 2015/12/17 02:57:46 UTC

[jira] [Resolved] (APEXCORE-263) Checkpoint Can Be Performed Twice For The Same Window

     [ 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)