You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/02 15:47:00 UTC

[jira] [Work logged] (BEAM-5428) Implement cross-bundle state caching.

     [ https://issues.apache.org/jira/browse/BEAM-5428?focusedWorklogId=305250&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-305250 ]

ASF GitHub Bot logged work on BEAM-5428:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Sep/19 15:46
            Start Date: 02/Sep/19 15:46
    Worklog Time Spent: 10m 
      Work Description: mxm commented on issue #9374: [BEAM-5428] Implement Runner support for cache tokens
URL: https://github.com/apache/beam/pull/9374#issuecomment-527189955
 
 
   >How do you imagine cache invalidation would happen (I'm asking because I wonder whether we should be exposing invalidateCacheToken APIs as part of the shared runner fn-execution code)?
   
   In my mind, the Runner simply redeploys the operator in case of a failure and that discards all its ephemeral state (e.g. cache tokens). Only state persisted in the Runner's state backend will be restored after a failure. I know this model works for Flink and Spark. If such a model works for all Runners, then we could indeed remove the `invalidateCacheToken()` method from the user state handler.
   
   So I'll remove the invalidation logic from `BagUserStateHandler`. Are you also suggesting, we should remove it from `StateRequestHandler` as well? Then nothing would be exposed in fn-execution. All the invalidation logic would be inside the state handler implementations.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 305250)
    Time Spent: 12h 50m  (was: 12h 40m)

> Implement cross-bundle state caching.
> -------------------------------------
>
>                 Key: BEAM-5428
>                 URL: https://issues.apache.org/jira/browse/BEAM-5428
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-harness
>            Reporter: Robert Bradshaw
>            Assignee: Rakesh Kumar
>            Priority: Major
>          Time Spent: 12h 50m
>  Remaining Estimate: 0h
>
> Tech spec: [https://docs.google.com/document/d/1BOozW0bzBuz4oHJEuZNDOHdzaV5Y56ix58Ozrqm2jFg/edit#heading=h.7ghoih5aig5m]
> Relevant document: [https://docs.google.com/document/d/1ltVqIW0XxUXI6grp17TgeyIybk3-nDF8a0-Nqw-s9mY/edit#|https://docs.google.com/document/d/1ltVqIW0XxUXI6grp17TgeyIybk3-nDF8a0-Nqw-s9mY/edit]
> Mailing list link: [https://lists.apache.org/thread.html/caa8d9bc6ca871d13de2c5e6ba07fdc76f85d26497d95d90893aa1f6@%3Cdev.beam.apache.org%3E]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)