You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Sourabh Bajaj (JIRA)" <ji...@apache.org> on 2016/11/15 22:18:59 UTC

[jira] [Created] (BEAM-985) Retry decorator maintains state as uses an iterator

Sourabh Bajaj created BEAM-985:
----------------------------------

             Summary: Retry decorator maintains state as uses an iterator
                 Key: BEAM-985
                 URL: https://issues.apache.org/jira/browse/BEAM-985
             Project: Beam
          Issue Type: Bug
            Reporter: Sourabh Bajaj
            Assignee: Sourabh Bajaj
             Fix For: 0.4.0-incubating


https://github.com/apache/incubator-beam/commit/2a207c928ee1edcfd32272abf12ed078d7daf26a

shows two unittests that fail due to state shared by the retry decorator iterator.

We have two options in fixing this:
1) Fix the retry decorator
2) Use an external package such as https://pypi.python.org/pypi/retrying




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