e42154fc46
* Stopping an alloc is implemented via Updates but update hooks are *not* run. * Destroying an alloc is a best effort cleanup. * AllocRunner destroy hooks implemented. * Disk migration and blocking on a previous allocation exiting moved to its own package to avoid cycles. Now only depends on alloc broadcaster instead of also using a waitch. * AllocBroadcaster now only drops stale allocations and always keeps the latest version. * Made AllocDir safe for concurrent use Lots of internal contexts that are currently unused. Unsure if they should be used or removed.
5 lines
194 B
Go
5 lines
194 B
Go
// Package allocwatcher allows blocking until another allocation - whether
|
|
// running locally or remotely - completes and migrates the allocation
|
|
// directory if necessary.
|
|
package allocwatcher
|