You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2020/03/25 22:09:05 UTC

[GitHub] [samza] bkonold opened a new pull request #1330: SAMZA-2353: Support standby containers with transactional state

bkonold opened a new pull request #1330: SAMZA-2353: Support standby containers with transactional state
URL: https://github.com/apache/samza/pull/1330
 
 
   **Symptom:** Job has transactional state (checkpoint & restore) and standby enabled. When an active container fails over, it bootstraps state from changelog as it is unable to re-use state written by the standby container.
    
   **Cause:** The failed-over active container expects store checkpoint directories such that the last consumed offset for the store is <= the latest checkpoint offset for that store SSP.
    
   **Changes:** Described in detail here. https://docs.google.com/document/d/1FcWWcig_rc86bTt2G9ZJxuIRQ6dUu-hVUCXVhyKJpOU/edit?usp=sharing
    
   **Tests:** WIP
   
   **API Changes:** `TaskSideInputStorageManager` is extracted as an interface, adding two methods:
   ```
   checkpoint(CheckpointId checkpointId)
   removeOldCheckpoints(CheckpointId checkpointId)
   ```
   with two implementing classes: `TransactionalTaskSideInputStorageManager` and `NonTransactionalTaskSideInputStorageManager`
    
   **Upgrade Instructions:** None
    
   **Usage Instructions:** New behavior is enabled with the config `task.transactional.state.checkpoint.enabled` set to true.

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


With regards,
Apache Git Services

[GitHub] [samza] bkonold closed pull request #1330: SAMZA-2353: Support standby containers with transactional state

Posted by GitBox <gi...@apache.org>.
bkonold closed pull request #1330: SAMZA-2353: Support standby containers with transactional state
URL: https://github.com/apache/samza/pull/1330
 
 
   

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


With regards,
Apache Git Services