Introduce hv_and_log_sync