Tanya-W commented on code in PR #17471: URL: https://github.com/apache/doris/pull/17471#discussion_r1127500701
########## fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeJobV2.java: ########## @@ -897,6 +903,10 @@ private void replayPendingJob(SchemaChangeJobV2 replayedJob) throws MetaNotFound olapTable.writeLock(); try { addShadowIndexToCatalog(olapTable); + if (invertedIndexChange) { Review Comment: othre shcema change job set table's state to SCHEMA_CHANGE in function `replayCreateJob`, invertedIndexChange job begin with WAITING_TXN, no PENDING state, so here need set table state to SCHEMA_CHANGE when replay job begin at WAITING_TXN -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org