ENG-5468: Fix command log initialization on joining nodes