Factual/skuld — pull request #80 by eric (2014-07-17 04:23:56+00:00)
Title: Add a new leaders tasks to the queue

When a vnode becomes master, there is an up to 1 second delay before the tasks in that vnode are added back to the queue (1 second is the interval the scanner runs).

This makes the scanner run as soon as the election has completed to prevent this delay (I believe it is the cause of some of the random failures that happen in the tests).

A fundamental question related to this is: Is it acceptable for skuld to return a `nil` in response to a `get-task` when there are tasks available? Right now it seems that there are at least one (and possibly more) reasons why it could happen during topology changes.