You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create MV with jdbc catalog and orcale/tidb server, refresh mv fail as below:
2025-01-14 11:02:37.073+08:00 INFO (starrocks-taskrun-pool-0|267) [PartitionBasedMvRefreshProcessor.syncAndCheckPartitions():267] Sync and check materialized view mv_oracle01 partition changing after 1 times: true, costs: 121 ms
2025-01-14 11:02:37.079+08:00 WARN (starrocks-taskrun-pool-0|267) [PartitionBasedMvRefreshProcessor.doRefreshMaterializedViewWithRetry():377] Refresh materialized view mv_oracle01 failed at 1th time: java.lang.IllegalStateException: corrupted partition meta
at com.google.common.base.Preconditions.checkState(Preconditions.java:512)
at com.starrocks.connector.partitiontraits.DefaultTraits.getPartitionNameWithPartitionInfo(DefaultTraits.java:117)
at com.starrocks.connector.partitiontraits.DefaultTraits.getUpdatedPartitionNames(DefaultTraits.java:134)
at com.starrocks.catalog.MaterializedView.getUpdatedPartitionNamesOfExternalTable(MaterializedView.java:828)
at com.starrocks.catalog.MvRefreshArbiter.needsToRefreshTable(MvRefreshArbiter.java:145)
at com.starrocks.catalog.MvRefreshArbiter.needsToRefreshTable(MvRefreshArbiter.java:47)
at com.starrocks.scheduler.mv.MVPCTRefreshPartitioner.isNonPartitionedMVNeedToRefresh(MVPCTRefreshPartitioner.java:246)
at com.starrocks.scheduler.mv.MVPCTRefreshNonPartitioner.getMVPartitionsToRefresh(MVPCTRefreshNonPartitioner.java:66)
at com.starrocks.scheduler.PartitionBasedMvRefreshProcessor.getPartitionsToRefreshForMaterializedView(PartitionBasedMvRefreshProcessor.java:972)
at com.starrocks.scheduler.PartitionBasedMvRefreshProcessor.getPartitionsToRefreshForMaterializedView(PartitionBasedMvRefreshProcessor.java:930)
at com.starrocks.scheduler.PartitionBasedMvRefreshProcessor.checkMvToRefreshedPartitions(PartitionBasedMvRefreshProcessor.java:289)
at com.starrocks.scheduler.PartitionBasedMvRefreshProcessor.doRefreshMaterializedView(PartitionBasedMvRefreshProcessor.java:439)
at com.starrocks.scheduler.PartitionBasedMvRefreshProcessor.doRefreshMaterializedViewWithRetry(PartitionBasedMvRefreshProcessor.java:368)
at com.starrocks.scheduler.PartitionBasedMvRefreshProcessor.doMvRefresh(PartitionBasedMvRefreshProcessor.java:327)
at com.starrocks.scheduler.PartitionBasedMvRefreshProcessor.processTaskRun(PartitionBasedMvRefreshProcessor.java:199)
at com.starrocks.scheduler.TaskRun.executeTaskRun(TaskRun.java:270)
at com.starrocks.scheduler.TaskRunExecutor.lambda$executeTaskRun$0(TaskRunExecutor.java:59)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:842)
2025-01-14 11:02:38.084+08:00 INFO (starrocks-taskrun-pool-0|267) [PartitionBasedMvRefreshProcessor.processTaskRun():219] Refresh mv mv_oracle01 trace logs: 0ms|-- MVRefreshPrepare[1] 7ms
8ms|-- MVRefreshDoWholeRefresh[1] 1s195ms
21ms| -- MVRefreshComputeCandidatePartitions[1] 54ms
75ms| -- MVRefreshSyncAndCheckPartitions[1] 121ms
75ms| -- MVRefreshExternalTable[1] 58ms
134ms| -- MVRefreshCheckBaseTableChange[1] 62ms
197ms| -- MVRefreshCheckMVToRefreshPartitions[1] 3ms
Tracer Cost: 156us
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
3.3.9
The text was updated successfully, but these errors were encountered:
Steps to reproduce the behavior (Required)
orcale
/tidb
server, refresh mv fail as below:Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
3.3.9
The text was updated successfully, but these errors were encountered: