Move allocation primitives to a separate module
In this way we avoid a circular dependency: tryAlloc depends on the notion of global N+1 redundancy and global N+1 redundancy for plain instances depends on knowing how to allocate an instance on a single node. Signed-off-by:Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
Showing
Please register or sign in to comment