Hello everyone,

I’m happy to share that PR #18221, “Only scan tables of tree model while 
regenerating data partition,” has been merged into master.


The issue was in 
DataPartitionTableIntegrityCheckProcedure#analyzeMissingPartitions. During 
data-partition integrity checking, databases with missing or empty local 
data-partition tables could be added to the repair list. However, this recovery 
flow is intended for tree-model databases, while table-model databases could 
also enter this path.


This patch adds a database.startsWith("root.") guard when identifying databases 
with missing data partitions. This keeps the repair behavior for tree-model 
databases and avoids unnecessary data-partition regeneration for table-model 
databases.


The change is limited to DataPartitionTableIntegrityCheckProcedure and has been 
merged as commit 9ae66742b9e0edd10c9db0a8a0c7e53113cb8106.


Thanks to CRZbulabula for the review and merge.


Best regards,
Bo Li

Reply via email to