Fixed a bug with offerReturned in simple_allocator: When offerReturned is called due to a framework failover, the framework's new PID will not be set yet, so we shouldn't reoffer resources right away. This was probably not a problem before the issue 108 patch because the old Framework object was marked as inactive so the allocator reoffered to other frameworks. However, it seems weird to mark the framework as inactive when we're going to mark it as active again later in the failover case, and it's easier to just wait for the next timer tick to reoffer those resources.
Fixed a bug with offerReturned in simple_allocator: When offerReturned
is called due to a framework failover, the framework's new PID will not
be set yet, so we shouldn't reoffer resources right away. This was
probably not a problem before the issue 108 patch because the old
Framework object was marked as inactive so the allocator reoffered to
other frameworks. However, it seems weird to mark the framework as
inactive when we're going to mark it as active again later in the
failover case, and it's easier to just wait for the next timer tick to
reoffer those resources.

charlescearl/VirtualMesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos