Skip to content
Snippets Groups Projects
Commit ee214bf2 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Vladimir Davydov
Browse files

applier: check sync directly (not from writer)

We check if it's time to switch the applier to the FOLLOW state from
applier writer, because we might need to call on_state triggers, which
may yield. The fact is FOLLOW triggers never yield so this isn't
necessary. Let's move applier_check_sync calls out of applier writer.

This is a step towards moving the applier fiber from the main to the
applier thread, which is required to properly handle SSL connections.

NO_DOC=refactoring
NO_CHANGELOG=refactoring
parent 198766db
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