hydra-queue-runner: Fix assertion failure

[?]
Jun 22, 2015, 8:59 AM
A3IIKGSGLY6TI4YCUMV6YCOE3DKXW6UTCDCLMQ6RRNGDOIZUWHFAC

Dependencies

  • [2] HUUZFPPK Fix race between the queue monitor and the builder threads
  • [3] ODCBSLFG hydra-queue-runner: Fix segfault sorting machines by load
  • [4] NNOCZ4RO hydra-queue-runner: Improve dispatcher
  • [5] 24BMQDZA Start of single-process hydra-queue-runner

Change contents

  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 866
    [3.67][3.67:204]()
    necessary to ensure that the sort comparator below is a
    ordering. std::sort() can segfault if it isn't. */
    [3.67]
    [3.204]
    necessary to ensure that the sort comparator below is
    an ordering. std::sort() can segfault if it isn't. */
  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 1206
    [2.5633][2.5633:5695]()
    if (rdep_->deps.empty()) runnable = true;
    [2.5633]
    [2.5695]
    /* Note: if the step has not finished
    initialisation yet, it will be made runnable in
    createStep(), if appropriate. */
    if (rdep_->deps.empty() && rdep->created) runnable = true;