return nil // only normal partitions do dynamic scaling
}
// userDataManager must be initialized here already so we can just ask it for scale info
scaleInfo := pm.userDataManager.PartitionScale()
if scaleInfo.GetRead() <= 0 || scaleInfo.GetWrite() <= 0 || scaleInfo.Write > scaleInfo.Read {
return nil // missing or invalid scale info
}
// always validate partition id based on read/write counts and scale info