Branch: refs/heads/master Home: https://github.com/uzh/gc3pie Commit: c095a8b0d431762fbd8f94d02a7e0c84526bb238 https://github.com/uzh/gc3pie/commit/c095a8b0d431762fbd8f94d02a7e0c84526bb238 Author: Riccardo Murri <riccardo.mu...@gmail.com> Date: 2017-08-11 (Fri, 11 Aug 2017)
Changed paths: M gc3libs/core.py M gc3libs/tests/test_engine.py M gc3libs/workflow.py Log Message: ----------- Fixes for `Engine.forget_terminated`. There are at least three different issues that should be solved by this commit: * Do not drop TERMINATED tasks twice when `Engine.forget_terminated == True`. * Correctly handle the case of tasks that transition to TERMINATED without having been in TERMINATING state first (e.g., task collections) * Avoid updating TERMINATED tasks after they've been forgotten, a bug that would appear as a traceback like this:: AssertionError: Task.update_state() called on detached task ... -- You received this message because you are subscribed to the Google Groups "gc3pie-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to gc3pie-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gc3pie-dev/598e18feef02c_1d313fd171375c44833ba%40hookshot-fe6-cp1-prd.iad.github.net.mail. For more options, visit https://groups.google.com/d/optout.