Artisi is right.
note also that 'immediate' effect of cavitation is loss of power/head accompanied with noise, vibrations, etc.
but for pump itself (regarding the damage inflicted), cavitation is a long term process with cummulative effects, which may or may not be connected to loss of...