apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgolovko <...@git.apache.org>
Subject [GitHub] apex-core pull request #460: APEXCORE-627 : Unit test AtMostOnceTest intermi...
Date Fri, 27 Jan 2017 23:34:54 GMT
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 <sergey@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.
---

Mime
View raw message