#8345 event tasks can start too soon

unreleased
closed
None
General
nobody
2020-01-08
2019-12-31
No

All tasks (including events) currently flush to mongo immediately. So a g.post_event('project_updated') event can be persisted to mongo and picked up by a taskd instance (if you have many that are very fast) and start executing on stale data, all before the end of the original request where the project changes are saved.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2019-12-31
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2019-12-31

    Fixed in db/8345

     
  • Kenton Taylor

    Kenton Taylor - 2020-01-08
    • status: review --> closed
     

Log in to post a comment.