#8345 event tasks can start too soon

v1.13.0
closed
None
General
nobody
2021-05-17
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
     
  • Dave Brondsema

    Dave Brondsema - 2021-05-17
    • Milestone: unreleased --> v1.13.0
     

Log in to post a comment.