FAL[client]: Failed to request gap sequence

FAL[client]: Failed to request gap sequence
GAP – thread 1 sequence 1778708-1778739
DBID x branch x
FAL[client]: All defined FAL servers have been attempted.

wysypała się replikacja / brakuje archów, jezeli brakuje więcej, to można na bogato odtwarzać (nawet na primary i DG elegancko prześle na standby), albo bawić się w ten sposób:

watch -n 2 „tail -n 1000 alert_DB.log | grep -B1 'GAP – thread’; tail -n 1000 alert_DB.log | grep 'GAP – thread’ | awk '{split(\$6, seq, \”-\”); print \”RESTORE ARCHIVELOG from logseq\”, seq[1], \”until logseq\”, seq[2], \”thread\”, \$4 \”;\”}'”

i będzie wypluwać gotową komendę na restora:

FAL[client]: Failed to request gap sequence
GAP – thread 2 sequence 1793587-1793587
FAL[client]: Failed to request gap sequence
GAP – thread 1 sequence 1778708-1778739
RESTORE ARCHIVELOG from logseq 1793587 until logseq 1793587 thread 2;
RESTORE ARCHIVELOG from logseq 1778708 until logseq 1778739 thread 1;