After three days after the filing of the notice for record, any person who begins an action pursuant to this chapter to perfect or establish his title to the real property described in the notice, or any interest therein, must name, in the affidavit and memorandum appended to the summons, the claimant in the notice, or any person who is a successor in interest of such claimant under a subsequently duly recorded written instrument, judgment, or decree, as a party who claims an interest in or lien upon the property adverse to the plaintiff. He must cause such claimant, or successor in interest, to be served with summons in the action. Otherwise neither the action nor any
judgment or decree made therein shall affect the title or interest in the property described in the notice and owned by the claimant at the time of the filing of the notice, or by any such successor in interest prior to the commencement of the action. The failure to name such claimant or successor in interest in the affidavit or memorandum or to serve such claimant or such successor in interest shall not affect the validity of the judgment or decree rendered in such action as to any other persons, but such judgment or decree shall be valid and binding upon all persons except such claimant or successor in interest.