Skip to content

Commit ba6a442

Browse files
committed
Refactor task type check with RecoveryInProgress
remove vacuum task check
1 parent 4527638 commit ba6a442

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/backend/distributed/executor/local_executor.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,8 +1021,7 @@ TaskAccessesLocalNode(Task *task)
10211021
{
10221022
//check if it's running on standby node
10231023
if( (task->taskType == MODIFY_TASK||
1024-
task->taskType ==DDL_TASK ||
1025-
task->taskType == VACUUM_ANALYZE_TASK) && RecoveryInProgress())
1024+
task->taskType ==DDL_TASK) && RecoveryInProgress())
10261025
{
10271026
return false;
10281027
}else{

0 commit comments

Comments
 (0)