This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 53f1452b41e [fix](catalog) commit index with correctly partition ids 
(#61139)
53f1452b41e is described below

commit 53f1452b41e1abe394b4965c732fac307576ad76
Author: walter <[email protected]>
AuthorDate: Tue Mar 10 09:44:31 2026 +0800

    [fix](catalog) commit index with correctly partition ids (#61139)
---
 .../src/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 14a13343939..293ddf85402 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
@@ -3008,9 +3008,9 @@ public class InternalCatalog implements 
CatalogIf<Database> {
                         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 {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to