Skip to content

Commit

Permalink
Replace rowSeperator with recordPrefixSep
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitinChen committed Mar 5, 2019
1 parent 12b24ec commit 97e5bfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tidb-internal-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ TiDB 对每个表分配一个 TableID,每一个索引都会分配一个 IndexI
每行数据按照如下规则进行编码成 Key-Value pair:

```
Key: tablePrefix_tableID_rowSeperator_rowID
Key: tablePrefix_tableID_recordPrefixSep_rowID
Value: [col1, col2, col3, col4]
```

其中 Key 的 tablePrefix/rowSeperator 都是特定的字符串常量,用于在 KV 空间内区分其他数据。
其中 Key 的 `tablePrefix`/`recordPrefixSep` 都是特定的字符串常量,用于在 KV 空间内区分其他数据。

对于 Index 数据,会按照如下规则编码成 Key-Value pair:

Expand Down

0 comments on commit 97e5bfb

Please sign in to comment.