Hi all ,
i use barman for backing up a patroni cluster .
I will give you the result of barman replication-status which concerns me .
. Async WAL streamer
Application name: barman_receive_wal
Sync stage : 2/3 WAL Sent (min)
Communication : TCP/IP
IP Address : **.**.**.** / Port: 38564 / Host: NAS
User name : barman
Current state : streaming (async)
WAL sender PID : 870381
Started at : 2021-11-10 11:10:49.114346+03:00
Sent LSN : 38/FB87CF20 (diff: 0 B)
Write LSN : 38/FB84C4B0 (diff: -194.6 KiB)
The thing is sometimes the Sync stage is 3/3 Remote write and most of the times is like above . And with this Sync stage the backup taken is not a good one .
How can this be solved and always have Sync stage : 3/3 Remote write with no difference on Write LSN (diff: 0 B)
Because even when backup is taken it shows different location than the Current LSN on master .
Thank you in advance .