2. If for some reason lets say a WAL file is missing from the archive directory but the files after that are present. When the standby tries to restore the missing WAL file, does it fail or it simply skips the missing WAL file and goes to the next one.
I wont think it is possible if you are missing any one of the WALs in restoration process.