Unverified Commit 32827b86 authored by Arunprasad Rajkumar's avatar Arunprasad Rajkumar Committed by GitHub
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment