Safe Haskell | Safe-Infered |
---|
Implementation of instance moves in a cluster.
Documentation
setInstanceLocationScoreSource
:: Instance | the original instance |
-> Node | the primary node of the instance |
-> Node | the secondary node of the instance |
-> Instance | the instance with the location score updated |
Sets the location score of an instance, given its primary and secondary node.