!167 bug fix pthread_join not quit when do pitr

Merge pull request !167 from 裴庭伟/dev_performance
This commit is contained in:
zoujia_yewu 2023-06-13 09:55:15 +00:00 committed by Gitee
commit dd5777cfc1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -9432,6 +9432,8 @@ void StartupXLOG(void)
if (he3_point_in_time_recovery && he3recoveryStopsAfter(xlogreader)) if (he3_point_in_time_recovery && he3recoveryStopsAfter(xlogreader))
{ {
pushTikv(0,hashMapSize(),true); pushTikv(0,hashMapSize(),true);
reachedRecoveryTarget = true;
WalTaskImmediateFree();
break; break;
} }
/* Else, try to fetch the next WAL record */ /* Else, try to fetch the next WAL record */