coverity: historydb liveupgrade load: get wrlock to silence coverity
and just to be sure, although the function is only called at startup
before threads are running