'Cancels a ring partition power increasement.
This sets the next_part_power to the current part_power. Object
replicators will still skip replication, and a cleanup is still
required. Finally, a finish_increase_partition_power needs to be run.
:returns: False if next_part_power was not set or is equal to current
part_power, otherwise True.'

def cancel_increase_partition_power(self):

    if (not self.next_part_power):
        return False
    if (self.next_part_power != (self.part_power + 1)):
        return False
    self.next_part_power = self.part_power
    self.version += 1
    return True
