From c224c6507da414cdc36d7aa51902e44d1868a768 Mon Sep 17 00:00:00 2001 From: walter Date: Tue, 10 Mar 2026 09:44:31 +0800 Subject: [PATCH] [fix](catalog) commit index with correctly partition ids (#61139) --- .../main/java/org/apache/doris/datasource/InternalCatalog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java index 102060ae2e6d60..f9cc57d3534d5d 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java @@ -3117,9 +3117,9 @@ private boolean createOlapTable(Database db, CreateTableInfo createTableInfo) th idGeneratorBuffer, binlogConfigForTask, partitionInfo.getDataProperty(partitionId).isStorageMediumSpecified()); + olapTable.addPartition(partition); afterCreatePartitions(db.getId(), olapTable.getId(), olapTable.getPartitionIds(), olapTable.getIndexIdList(), true /* isCreateTable */, true /* isBatchCommit */, olapTable); - olapTable.addPartition(partition); } else if (partitionInfo.getType() == PartitionType.RANGE || partitionInfo.getType() == PartitionType.LIST) { try {