You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by sgolovko <gi...@git.apache.org> on 2017/01/27 23:34:54 UTC

[GitHub] apex-core pull request #460: APEXCORE-627 : Unit test AtMostOnceTest intermi...

GitHub user sgolovko opened a pull request:

    https://github.com/apache/apex-core/pull/460

    APEXCORE-627 : Unit test AtMostOnceTest intermittently fails

    Fixed a race problem for calling checkpointed and committed in RecoverableInputOperator. The original implementation of the class used the method checkpointed() of the interface CheckpointListener to refresh a value of one of the criteria variables checkpointedWindowId. The fix update uses the method beforeCheckpoint() of the interface CheckpointNotificationListener. It guaranties that the update of the variable checkpointedWindowId will be done before the call of the method committed().

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sgolovko/apex-core APEXCORE-627

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/apex-core/pull/460.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #460
    
----
commit 0c7e091e1bede9b70768bc91b5ee86a6b15f1a9a
Author: Sergey Golovko <se...@datatorrent.com>
Date:   2017-01-27T23:15:09Z

    APEXCORE-627 : Unit test AtMostOnceTest intermittently fails
    
    Fixed a race problem for calling checkpointed and committed in RecoverableInputOperator. The original implementation of the class used the method checkpointed() of the interface CheckpointListener to refresh a value of one of the criteria variables checkpointedWindowId. The fix update uses the method beforeCheckpoint() of the interface CheckpointNotificationListener. It guaranties that the update of the variable checkpointedWindowId will be done before the call of the method committed().

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] apex-core pull request #460: APEXCORE-627 : Unit test AtMostOnceTest intermi...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/apex-core/pull/460


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---