Problem: Incorrect flush LSN from source being used to find durable LSN (#615)
Solution: Use flush LSN from target to find the durable LSN. To find a durable LSN with async commit, we maintain a list of LSN mapping between source(sourceLSN) and target(insertLSN). New mapping will be inserted into the list on COMMIT or KEEPALIVE message. While reporting the replay_lsn to sentinel we have to get the flush lsn from target and compare it against the insertLSN from the list to find the sourceLSN.
parent
1ed47db3
Please register or sign in to comment