The visitor is used to traverse view rows, and if it detects a ghost row it qualifies it for deletion. Qualification is based on a base table read with cl=ALL: if the corresponding row is not present in the base table, it is considered a ghost.