Volcanic record of the subduction of an active spreading ridge