The aircraft I fly uses vacuum pumps for the toilets.
If the vacuum pump is unservicable, the toilets will flush as normal if the the aircraft is above 18,000 feet.
Most of the time the aircraft is above 18,000' and when we are below 10,000' the toilets are not in use - seat belt signs are on.