Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ api:
命令:

```
./lib/meta_tool --root_path=/path/to/root_path --operation=get_header --tablet_id=xxx --schema_hash=xxx
./lib/meta_tool --root_path=/path/to/root_path --operation=get_meta --tablet_id=xxx --schema_hash=xxx
```

> root_path: 在 be.conf 中配置的对应的 root_path 路径。
Expand All @@ -62,7 +62,7 @@ api:
命令:

```
./lib/meta_tool --operation=load_header --root_path=/path/to/root_path --json_header_path=path
./lib/meta_tool --operation=load_meta --root_path=/path/to/root_path --json_header_path=path
```

### 删除 header
Expand All @@ -72,7 +72,7 @@ api:
命令:

```
./lib/meta_tool --operation=delete_header --root_path=/path/to/root_path --tablet_id=xxx --schema_hash=xxx
./lib/meta_tool --operation=delete_meta --root_path=/path/to/root_path --tablet_id=xxx --schema_hash=xxx
```

### 展示 pb 格式的 TabletMeta
Expand All @@ -82,7 +82,7 @@ api:
命令:

```
./lib/meta_tool --operation=show_header --root_path=/path/to/root_path --pb_header_path=path
./lib/meta_tool --operation=show_meta --root_path=/path/to/root_path --pb_header_path=path
```


Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Get Tablet Meta on a disk based on the meta\ tool tool.
Order:

```
./lib/meta_tool --root_path=/path/to/root_path --operation=get_header --tablet_id=xxx --schema_hash=xxx
./lib/meta_tool --root_path=/path/to/root_path --operation=get_meta --tablet_id=xxx --schema_hash=xxx
```

> root_path: The corresponding root_path path path configured in be.conf.
Expand All @@ -62,7 +62,7 @@ The function of loading header is provided to realize manual migration of tablet
Order:

```
./lib/meta_tool --operation=load_header --root_path=/path/to/root_path --json_header_path=path
./lib/meta_tool --operation=load_meta --root_path=/path/to/root_path --json_header_path=path
```

### Delete header
Expand All @@ -72,7 +72,7 @@ In order to realize the function of deleting a tablet from a disk of a be.
Order:

```
./lib/meta_tool --operation=delete_header --root_path=/path/to/root_path --tablet_id=xxx --schema_hash=xxx`
./lib/meta_tool --operation=delete_meta --root_path=/path/to/root_path --tablet_id=xxx --schema_hash=xxx`
```

### TabletMeta in Pb format
Expand All @@ -82,5 +82,5 @@ This command is to view the old file-based management PB format Tablet Meta, and
Order:

```
./lib/meta_tool --operation=show_header --root_path=/path/to/root_path --pb_header_path=path
./lib/meta_tool --operation=show_meta --root_path=/path/to/root_path --pb_header_path=path
```