xingyingone opened a new issue, #26253: URL: https://github.com/apache/doris/issues/26253
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.0.2 ### What's Wrong? 1. fe 执行truncate 失败了 MySQL [test_db]> truncate table create_table_use_created_policy; ERROR 1105 (HY000): errCode = 2, detailMessage = Failed to find enough backend, please check the replication num,replication tag and storage medium. Create failed replications: replication tag: {"location" : "default"}, replication num: 3, storage medium: SSD 2. create_table_use_created_policy 是一个冷热存储分离的表 MySQL [test_db]> show create table create_table_use_created_policy\G; *************************** 1. row *************************** Table: create_table_use_created_policy Create Table: CREATE TABLE `create_table_use_created_policy` ( `k1` bigint(20) NULL, `k2` largeint(40) NULL, `v1` varchar(2048) NULL ) ENGINE=OLAP UNIQUE KEY(`k1`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`k1`) BUCKETS 3 PROPERTIES ( "replication_allocation" = "tag.location.default: 3", "is_being_synced" = "false", "storage_format" = "V2", "light_schema_change" = "true", "storage_policy" = "test_policy", "disable_auto_compaction" = "false", "enable_single_replica_compaction" = "false" ); MySQL [test_db]> show STORAGE POLICY\G; *************************** 1. row *************************** PolicyName: test_policy Id: 12025 Version: 0 Type: STORAGE StorageResource: remote_s3 CooldownDatetime: -1 CooldownTtl: 3600 1 row in set (0.00 sec) ### What You Expected? 像是storage policy没了 ### How to Reproduce? https://doris.apache.org/zh-CN/docs/advanced/cold_hot_separation 根据官网建表,然后数据降冷后执行查询,最后执行truncate ### Anything Else? 无 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
