When running an increment recovery on Tanzu Greenplum 6.x, it fails and recommends to run a full recovery.
[WARNING]:-Incremental recovery failed for dbid 37. You must use gprecoverseg -F to recover the segment.
The recovery logs may also report failure to the access file:
20211206:16:37:54:010338 gprecoverseg:mdw:gpadmin-[WARNING]:-servers diverged at WAL position 9D3/937FEBE0 on timeline 3
rewinding from last common checkpoint at 9D3/79557DF0 on timeline 3
could not open target file "/data/primary/gpseg18/gpbackup_history.yaml": Permission denied
Failure, exiting
When you run the recovery in verbose mode, you should see the following error:
stdout='connected to server
unexpected control file size 0, expected 8192
Failure, exiting
'
stderr=''