zhannngchen commented on code in PR #22010: URL: https://github.com/apache/doris/pull/22010#discussion_r1298057669
########## docs/zh-CN/docs/admin-manual/http-actions/be/compaction-run.md: ########## @@ -41,8 +42,11 @@ under the License. * `tablet_id` - tablet的id +* `table_id` + - table的id。注意,table_id=xxx只有在compact_type=full时指定才会生效,并且tablet_id和table_id只能指定一个,不能够同时指定,指定table_id后会自动对此table下所有tablet执行full_compaction。 + * `compact_type` - - 取值为`base`或`cumulative` + - 取值为`base`或`cumulative`或`full`。full_compaction的使用场景请参考xxx。 Review Comment: change to the correct link ########## docs/zh-CN/docs/admin-manual/data-admin/data-recovery.md: ########## @@ -0,0 +1,54 @@ +--- +{ + "title": "数据恢复", + "language": "zh-CN" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# 数据恢复 + +对于Merge on Write表,系统可能会在计算delete bitmap时出现错误,导致重复主键结果出现,此时可以利用full compaction功能进行数据的修复。本功能对于非Merge on Write表无效。 Review Comment: Merge on Write表->Unique Key Merge on Write表 ########## docs/zh-CN/docs/admin-manual/data-admin/data-recovery.md: ########## @@ -0,0 +1,54 @@ +--- +{ + "title": "数据恢复", + "language": "zh-CN" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# 数据恢复 + +对于Merge on Write表,系统可能会在计算delete bitmap时出现错误,导致重复主键结果出现,此时可以利用full compaction功能进行数据的修复。本功能对于非Merge on Write表无效。 Review Comment: "系统可能会在计算delete bitmap时出现错误,导致重复主键结果出现"->"在某些Doris的版本中存在bug,可能会导致系统在计算delete bitmap时出现错误,导致出现重复主键“ ########## docs/zh-CN/docs/admin-manual/data-admin/data-recovery.md: ########## @@ -0,0 +1,54 @@ +--- +{ + "title": "数据恢复", + "language": "zh-CN" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# 数据恢复 + +对于Merge on Write表,系统可能会在计算delete bitmap时出现错误,导致重复主键结果出现,此时可以利用full compaction功能进行数据的修复。本功能对于非Merge on Write表无效。 Review Comment: "系统可能会在计算delete bitmap时出现错误,导致重复主键结果出现"->"在某些Doris的版本中存在bug,可能会导致系统在计算delete bitmap时出现错误,导致出现重复主键“ ########## docs/zh-CN/docs/admin-manual/data-admin/data-recovery.md: ########## @@ -0,0 +1,54 @@ +--- +{ + "title": "数据恢复", + "language": "zh-CN" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# 数据恢复 + +对于Merge on Write表,系统可能会在计算delete bitmap时出现错误,导致重复主键结果出现,此时可以利用full compaction功能进行数据的修复。本功能对于非Merge on Write表无效。 Review Comment: Merge on Write表->Unique Key Merge on Write表 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org