Skip to content
Snippets Groups Projects
Commit 6a0f40c9 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

recovery: insert a hack to fix failing replica_join.test

Reset the global vclock after initial join to ensure
engine events are not filtered out by recovery.
parent 0bd2956d
No related branches found
No related tags found
No related merge requests found
......@@ -1421,7 +1421,12 @@ bootstrap_from_master(struct replica *master, struct vclock *start_vclock)
*/
engine_begin_initial_recovery(NULL);
applier_resume_to_state(applier, APPLIER_FINAL_JOIN, TIMEOUT_INFINITY);
/*
* Hack: reset recovery vclock polluted by initial join
*/
vclock_create(&::recovery->vclock);
/*
* Process final data (WALs).
*/
......
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