Skip to content
Snippets Groups Projects
Commit 1c51dd5e authored by Serge Petrenko's avatar Serge Petrenko Committed by Serge Petrenko
Browse files

recovery: move lsn comparison after the replica_id assertion

It doesn't make sense to assert that replica_id is correct in a row
after using that replica id to make some decisions based on it. Let's
switch the order of operations: first assert that replica_id is correct,
then compare row lsn with the already recovered one.

In-scope-of #9491

NO_DOC=refactoring
NO_TEST=refactoring
NO_CHANGELOG=refactoring

(cherry picked from commit 4ec51b4b)
parent c2e104c5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment