Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glossary: Add more abbreviations #19213

Merged
merged 30 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
956145c
glossary: Add more abbreviations
dveeden Oct 25, 2024
f3186ce
Apply suggestions from code review
dveeden Oct 29, 2024
e4c82a5
Apply suggestions from code review
dveeden Oct 29, 2024
7379630
Update glossary.md
dveeden Oct 29, 2024
9fbf684
Apply suggestions from code review
dveeden Oct 29, 2024
bd23974
refine wording
qiancai Nov 1, 2024
fc1402c
GCP KMS -> Google Cloud KMS
qiancai Nov 1, 2024
c3c192a
Update based on review
dveeden Nov 6, 2024
d0ef6ee
Updated RocksDB link
dveeden Nov 6, 2024
539af48
Consistency updates
dveeden Nov 6, 2024
b07f67f
Update CTE
dveeden Nov 6, 2024
ae0e2bf
Fix issues found by linters
dveeden Nov 6, 2024
7af7c76
Merge remote-tracking branch 'upstream/master' into glossary_oct24_1
dveeden Nov 6, 2024
d5daf41
Fix link
dveeden Nov 6, 2024
41897b1
Add script to check glossary
dveeden Nov 6, 2024
288dee7
Sort entries
dveeden Nov 6, 2024
633306b
Ignore differences in case
dveeden Nov 6, 2024
1a32f1f
Fix MD012
dveeden Nov 6, 2024
3d2c761
Format script with black
dveeden Nov 6, 2024
18dcc30
Link between glossaries
dveeden Nov 6, 2024
bda5a82
Fix MD032
dveeden Nov 6, 2024
075afc4
minor wording updates
qiancai Nov 7, 2024
091940d
Update glossary.md
dveeden Nov 8, 2024
64f4124
Remove AWS related items
dveeden Nov 8, 2024
78b9fba
Update glossary.md
dveeden Nov 11, 2024
ab2d8e1
Update glossary.md
dveeden Nov 13, 2024
d255463
Apply suggestions from code review
dveeden Nov 13, 2024
4b9c2df
Update glossary.md
dveeden Nov 13, 2024
6e9c295
Apply suggestions from code review
dveeden Nov 14, 2024
fd4d6ca
minor punctuation changes
qiancai Nov 14, 2024
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
6 changes: 3 additions & 3 deletions br/br-snapshot-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tiup br backup full --pd "${PD_IP}:2379" \

In the preceding command:

- `--backupts`: The time point of the snapshot. The format can be [TSO](/glossary.md#tso) or timestamp, such as `400036290571534337` or `2018-05-11 01:42:23 +08:00`. If the data of this snapshot is garbage collected, the `tiup br backup` command returns an error and `br` exits. When backing up using a timestamp, it is recommended to specify the time zone as well. Otherwise, `br` uses the local time zone to construct the timestamp by default, which might lead to an incorrect backup time point. If you leave this parameter unspecified, `br` picks the snapshot corresponding to the backup start time.
- `--backupts`: The time point of the snapshot. The format can be [TSO](/tso.md) or timestamp, such as `400036290571534337` or `2018-05-11 01:42:23 +08:00`. If the data of this snapshot is garbage collected, the `tiup br backup` command returns an error and `br` exits. When backing up using a timestamp, it is recommended to specify the time zone as well. Otherwise, `br` uses the local time zone to construct the timestamp by default, which might lead to an incorrect backup time point. If you leave this parameter unspecified, `br` picks the snapshot corresponding to the backup start time.
- `--storage`: The storage address of the backup data. Snapshot backup supports Amazon S3, Google Cloud Storage, and Azure Blob Storage as backup storage. The preceding command uses Amazon S3 as an example. For more details, see [URI Formats of External Storage Services](/external-storage-uri.md).
- `--ratelimit`: The maximum speed **per TiKV** performing backup tasks. The unit is in MiB/s.

Expand Down Expand Up @@ -129,8 +129,8 @@ tiup br restore full \

### Restore tables in the `mysql` schema

- Starting from BR v5.1.0, when you back up snapshots, BR automatically backs up the **system tables** in the `mysql` schema, but does not restore these system tables by default.
- Starting from v6.2.0, BR lets you specify `--with-sys-table` to restore **data in some system tables**.
- Starting from BR v5.1.0, when you back up snapshots, BR automatically backs up the **system tables** in the `mysql` schema, but does not restore these system tables by default.
- Starting from v6.2.0, BR lets you specify `--with-sys-table` to restore **data in some system tables**.
- Starting from v7.6.0, BR enables `--with-sys-table` by default, which means that BR restores **data in some system tables** by default.

**BR can restore data in the following system tables:**
Expand Down
2 changes: 1 addition & 1 deletion br/br-snapshot-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tiup br backup full \

In the preceding command:

- `--backupts`: The time point of the snapshot. The format can be [TSO](/glossary.md#tso) or timestamp, such as `400036290571534337` or `2024-06-28 13:30:00 +08:00`. If the data of this snapshot is garbage collected, the `tiup br backup` command returns an error and 'br' exits. If you leave this parameter unspecified, `br` picks the snapshot corresponding to the backup start time.
- `--backupts`: The time point of the snapshot. The format can be [TSO](/tso.md) or timestamp, such as `400036290571534337` or `2024-06-28 13:30:00 +08:00`. If the data of this snapshot is garbage collected, the `tiup br backup` command returns an error and 'br' exits. If you leave this parameter unspecified, `br` picks the snapshot corresponding to the backup start time.
- `--ratelimit`: The maximum speed **per TiKV** performing backup tasks. The unit is in MiB/s.
- `--log-file`: The target file where `br` log is written.

Expand Down
2 changes: 2 additions & 0 deletions dm/dm-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ aliases: ['/docs/tidb-data-migration/dev/glossary/']

This document lists the terms used in the logs, monitoring, configurations, and documentation of TiDB Data Migration (DM).

For TiDB-related terms and definitions, see [TiDB glossary](/glossary.md).

## B

### Binlog
Expand Down
162 changes: 148 additions & 14 deletions glossary.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion latency-breakdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ tidb_session_execute_duration_seconds{type="general"} =
read value duration
```

`pd_client_cmd_handle_cmds_duration_seconds{type="wait"}` records the duration of fetching [TSO (Timestamp Oracle)](/glossary.md#tso) from PD. When reading in an auto-commit transaction mode with a clustered primary index or from a snapshot, the value will be zero.
`pd_client_cmd_handle_cmds_duration_seconds{type="wait"}` records the duration of fetching [TSO (Timestamp Oracle)](/tso.md) from PD. When reading in an auto-commit transaction mode with a clustered primary index or from a snapshot, the value will be zero.

The `read handle duration` and `read value duration` are calculated as:

Expand Down
34 changes: 34 additions & 0 deletions scripts/check-glossary.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/python3
import sys
from difflib import unified_diff

print("Checking alphabetic sorting of glossary.md")

with open("glossary.md") as fh:
# Extract the lines that start with ### into itemsA (unsorted)
itemsA = ""
for line in fh.readlines():
if line.startswith("###"):
itemsA += line
fh.seek(0)

# Extract the lines that start with ### into itemsB (sorted)
itemsB = ""
for line in sorted(fh.readlines(), key=str.casefold):
if line.startswith("###"):
itemsB += line

if itemsA == itemsB:
print("result: OK")
sys.exit(0)

print("result: differences found, see diff for details")
# diff itemsA and itemsB
diff = unified_diff(
itemsA.splitlines(keepends=True),
itemsB.splitlines(keepends=True),
fromfile="before",
tofile="after",
)
sys.stdout.writelines(diff)
sys.exit(1)
2 changes: 1 addition & 1 deletion ticdc/ticdc-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ summary: Learn the terms about TiCDC and their definitions.

This glossary provides TiCDC-related terms and definitions. These terms appears in TiCDC logs, monitoring metrics, configurations, and documents.

For TiDB-related terms and definitions, refer to [TiDB glossary](/glossary.md).
For TiDB-related terms and definitions, see [TiDB glossary](/glossary.md).

## C

Expand Down
2 changes: 2 additions & 0 deletions tidb-lightning/tidb-lightning-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ aliases: ['/docs/dev/tidb-lightning/tidb-lightning-glossary/','/docs/dev/referen

This page explains the special terms used in TiDB Lightning's logs, monitoring, configurations, and documentation.

For TiDB-related terms and definitions, see [TiDB glossary](/glossary.md).

<!-- A -->

## A
Expand Down
2 changes: 1 addition & 1 deletion tiflash/tiflash-mintso-scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ summary: Learn the implementation principles of the TiFlash MinTSO Scheduler.

# TiFlash MinTSO Scheduler

The TiFlash MinTSO scheduler is a distributed scheduler for [MPP](/glossary.md#mpp) tasks in TiFlash. This document describes the implementation principles of the TiFlash MinTSO scheduler.
The TiFlash MinTSO scheduler is a distributed scheduler for [MPP](/glossary.md#massively-parallel-processing-mpp) tasks in TiFlash. This document describes the implementation principles of the TiFlash MinTSO scheduler.

## Background

Expand Down
2 changes: 1 addition & 1 deletion tiflash/use-tiflash-mpp-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ summary: Learn the MPP mode of TiFlash and how to use it.

<CustomContent platform="tidb">

This document introduces the [Massively Parallel Processing (MPP)](/glossary.md#mpp) mode of TiFlash and how to use it.
This document introduces the [Massively Parallel Processing (MPP)](/glossary.md#massively-parallel-processing-mpp) mode of TiFlash and how to use it.

</CustomContent>

Expand Down
Loading