EmmyMiao87 commented on a change in pull request #3581:
URL: https://github.com/apache/incubator-doris/pull/3581#discussion_r426344964
##########
File path: docs/zh-CN/administrator-guide/operation/tablet-restore-tool.md
##########
@@ -30,15 +30,20 @@ under the License.
用户在使用Doris的过程中,可能会发生因为一些误操作或者线上bug,导致一些有效的tablet被删除(包括元数据和数据)。为了防止在这些异常情况出现数据丢失,Doris提供了回收站机制,来保护用户数据。用户删除的tablet数据不会被直接删除,会被放在回收站中存储一段时间,在一段时间之后会有定时清理机制将过期的数据删除。回收站中的数据包括:tablet的data文件(.dat),tablet的索引文件(.idx)和tablet的元数据文件(.hdr)。数据将会存放在如下格式的路径:
+```
/root_path/trash/time_label/tablet_id/schema_hash/
+```
+
+* root path:对应BE节点的某个数据根目录。
+* trash:回收站的目录。
+* time_label:时间标签,为了回收站中数据目录的唯一性,同时记录数据时间,使用时间标签作为子目录。
-其中, root path是用户配置的一块盘上be存储的根目录;
-trash:是回收站的目录
-time_label: 时间标签,为了回收站中数据目录的唯一性,同时记录数据时间,使用时间标签作为子目录
+当用户发现线上的数据被误删除,需要从回收站中恢复被删除的tablet,需要用到这个tablet数据恢复功能。
-当用户发现线上的数据被误删除,需要从回收站中恢复被删除的tablet,需要用到这个tablet数据恢复功能。BE提供http接口和restore_tablet_tool.sh脚本实现这个功能,支持单tablet操作(single
mode)和批量操作模式(batch mode)。
-在single mode下,支持单个tablet的数据恢复。
-在batch mode下,支持批量tablet的数据恢复。
+BE提供http接口和restore_tablet_tool.sh脚本实现这个功能,支持单tablet操作(single
mode)和批量操作模式(batch mode)。
+
+* 在single mode下,支持单个tablet的数据恢复。
Review comment:
```suggestion
* 在single mode下,支持单个tablet的数据恢复。
```
##########
File path: docs/zh-CN/administrator-guide/operation/tablet-restore-tool.md
##########
@@ -30,15 +30,20 @@ under the License.
用户在使用Doris的过程中,可能会发生因为一些误操作或者线上bug,导致一些有效的tablet被删除(包括元数据和数据)。为了防止在这些异常情况出现数据丢失,Doris提供了回收站机制,来保护用户数据。用户删除的tablet数据不会被直接删除,会被放在回收站中存储一段时间,在一段时间之后会有定时清理机制将过期的数据删除。回收站中的数据包括:tablet的data文件(.dat),tablet的索引文件(.idx)和tablet的元数据文件(.hdr)。数据将会存放在如下格式的路径:
+```
/root_path/trash/time_label/tablet_id/schema_hash/
+```
+
+* root path:对应BE节点的某个数据根目录。
+* trash:回收站的目录。
+* time_label:时间标签,为了回收站中数据目录的唯一性,同时记录数据时间,使用时间标签作为子目录。
Review comment:
_ 前记得加反斜杠
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]