Changeset [f62a297a90e12720d1f641eb44fa9078da29c57a] by Shayan Pooya

July 28th, 2014 @ 08:51 AM

job_coordinator: add the last_stage_task call to the can_finish

Previously, we were using the 'and' operator which does not short-circuit and
evaluates the (potentially expensive) last_stage_task function.
With this commit, we only call this function when there is no running tasks.
https://github.com/discoproject/disco/commit/f62a297a90e12720d1f641...

Committed by Shayan Pooya

  • M master/src/job_coordinator.erl
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Disco is an open-source implementation of the Map-Reduce framework for distributed computing. As the original framework, Disco supports parallel computations over large data sets on unreliable cluster of computers.

Shared Ticket Bins