Skip to content
Snippets Groups Projects
Commit 307ef45c authored by Nikolay Shirokovskiy's avatar Nikolay Shirokovskiy Committed by Vladimir Davydov
Browse files

appiler: do not keep applier diag in applier fiber diag

Currently last applier error is keeped in fiber diag. This leads to some
hacks like the return of -1 from applier fiber to keep the diag (fiber
diag is cleared if fiber return value is 0). Also we do not use applier
fiber diag as it intended - as diag set to current fiber on applier fiber
join. Let's instead keep applier diag in a different place.

Also let's copy error in `applier_wait_for_state` so that fiber error is
not disappeared in case of bootstrap.

Part of #8423

NO_TEST=refactoring
NO_CHANGELOG=refactoring
NO_DOC=refactoring
parent a76eb242
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