need to check is_promote as well in append_log