kangkaisen commented on a change in pull request #3106: [Alter] Alter job got
stuck because of table is untable
URL: https://github.com/apache/incubator-doris/pull/3106#discussion_r392159921
##########
File path: fe/src/main/java/org/apache/doris/alter/RollupJobV2.java
##########
@@ -162,7 +162,7 @@ protected void runPendingJob() throws AlterCancelException
{
}
}
MarkedCountDownLatch<Long, Long> countDownLatch = new
MarkedCountDownLatch<Long, Long>(totalReplicaNum);
- db.readLock();
+ db.writeLock();
Review comment:
Could we reduce the write lock scope? because the `tbl.isStable` and
`CreateReplicaTask` both need to iterate every replica.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]