Skip to content

Commit 0e95f37

Browse files
committed
Fixed linter errors
1 parent 1468e22 commit 0e95f37

File tree

70 files changed

+903
-875
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+903
-875
lines changed

ydb/docs/en/core/concepts/topic.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ A source ID is an arbitrary string up to 2048 characters long. This is usually t
129129
#### Sample source IDs {#source-id-examples}
130130

131131
| Type | ID | Description |
132-
--- | --- | ---
132+
| --- | --- | --- |
133133
| File | Server ID | Files are used to store application logs. In this case, it's convenient to use the server ID as a source ID. |
134134
| User actions | ID of the class of user actions, such as "viewing a page", "making a purchase", and so on. | It's important to handle user actions in the order they were performed by the user. At the same time, there is no need to handle every single user action in one application. In this case, it's convenient to group user actions by class. |
135135

@@ -140,7 +140,7 @@ A message group ID is an arbitrary string up to 2048 characters long. This is us
140140
#### Sample message group IDs {#group-id-examples}
141141

142142
| Type | ID | Description |
143-
--- | --- | ---
143+
| --- | --- | --- |
144144
| File | Full file path | All data from the server and the file it hosts will be sent to the same partition. |
145145
| User actions | User ID | It's important to handle user actions in the order they were performed. In this case, it's convenient to use the user ID as a source ID. |
146146

@@ -153,9 +153,9 @@ Sequence numbers are not used if [no-deduplication mode](#no-dedup) is enabled.
153153
### Sample message sequence numbers {#seqno-examples}
154154

155155
| Type | Example | Description |
156-
--- | --- | ---
156+
| --- | --- | --- |
157157
| File | Offset of transferred data from the beginning of a file | You can't delete lines from the beginning of a file, since this will lead to skipping some data as duplicates or losing some data. |
158-
| DB table | Auto-increment record ID |
158+
| DB table | Auto-increment record ID | |
159159

160160
## Message retention period {#retention-time}
161161

@@ -168,13 +168,13 @@ When transferring data, the producer app indicates that a message can be compres
168168
Supported codecs are explicitly listed in each topic. When making an attempt to write data to a topic with a codec that is not supported, a write error occurs.
169169

170170
| Codec | Description |
171-
--- | ---
171+
| --- | --- |
172172
| `raw` | No compression. |
173173
| `gzip` | [Gzip](https://en.wikipedia.org/wiki/Gzip) compression. |
174174
{% if audience != "external" %}
175-
`lzop` | [lzop](https://en.wikipedia.org/wiki/Lzop) compression.
175+
| `lzop` | [lzop](https://en.wikipedia.org/wiki/Lzop) compression. |
176176
{% endif %}
177-
`zstd` | [zstd](https://en.wikipedia.org/wiki/Zstd) compression.
177+
| `zstd` | [zstd](https://en.wikipedia.org/wiki/Zstd) compression. |
178178

179179
## Consumer {#consumer}
180180

ydb/docs/en/core/contributor/load-actors-kqp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Before this test, the necessary tables are created. After it's completed, they a
1414
{% include [load-actors-params](../_includes/load-actors-params.md) %}
1515

1616
| Parameter | Description |
17-
--- | ---
17+
| --- | --- |
1818
| `DurationSeconds` | Load duration in seconds. |
1919
| `WindowDuration` | Statistics aggregation window duration. |
2020
| `WorkingDir` | Path to the directory to create test tables in. |

ydb/docs/en/core/contributor/load-actors-memory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This ad-hoc actor is used for testing specific functionality. This is not a load
1111
## Actor parameters {#options}
1212

1313
| Parameter | Description |
14-
--- | ---
14+
| --- | --- |
1515
| `DurationSeconds` | Load duration in seconds. |
1616
| `BlockSize` | Allocated block size in bytes. |
1717
| `IntervalUs` | Interval between block allocations in microseconds. |

ydb/docs/en/core/contributor/load-actors-pdisk-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This ad-hoc actor is used for testing specific functionality. This is not a load
1515
{% include [load-actors-params](../_includes/load-actors-params.md) %}
1616

1717
| Parameter | Description |
18-
--- | ---
18+
| --- | --- |
1919
| `PDiskId` | ID of the Pdisk being loaded on the node. |
2020
| `PDiskGuid` | Globally unique ID of the PDisk being loaded. |
2121
| `VDiskId` | Parameters of the VDisk used to generate load.<ul><li>`GroupID`: Group ID.</li><li>`GroupGeneration`: Group generation.</li><li>`Ring`: Group ring ID.</li><li>`Domain`: Ring fail domain ID.</li><li>`VDisk`: Index of the VDisk in the fail domain.</li></ul> |

ydb/docs/en/core/contributor/load-actors-pdisk-read.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can generate two types of load:
1212
{% include [load-actors-params](../_includes/load-actors-params.md) %}
1313

1414
| Parameter | Description |
15-
--- | ---
15+
| --- | --- |
1616
| `PDiskId` | ID of the Pdisk being loaded on the node. |
1717
| `PDiskGuid` | Globally unique ID of the PDisk being loaded. |
1818
| `VDiskId` | The load is generated on behalf of a VDisk with the following parameters:<ul><li>`GroupID`: Group ID.</li><li>`GroupGeneration`: Group generation.</li><li>`Ring`: Group ring ID.</li><li>`Domain`: Ring fail domain ID.</li><li>`VDisk`: Index of the VDisk in the fail domain.</li></ul> |

ydb/docs/en/core/contributor/load-actors-pdisk-write.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can generate two types of load:
1212
{% include [load-actors-params](../_includes/load-actors-params.md) %}
1313

1414
| Parameter | Description |
15-
--- | ---
15+
| --- | --- |
1616
| `PDiskId` | ID of the Pdisk being loaded on the node. |
1717
| `PDiskGuid` | Globally unique ID of the PDisk being loaded. |
1818
| `VDiskId` | The load is generated on behalf of a VDisk with the following parameters:<ul><li>`GroupID`: Group ID.</li><li>`GroupGeneration`: Group generation.</li><li>`Ring`: Group ring ID.</li><li>`Domain`: Ring fail domain ID.</li><li>`VDisk`: Index of the VDisk in the fail domain.</li></ul> |

ydb/docs/en/core/contributor/load-actors-stop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Using this command, you can stop either entire load or only the specified part o
55
## Actor parameters {#options}
66

77
| Parameter | Description |
8-
--- | ---
8+
| --- | --- |
99
| `Tag` | Tag of the load actor to stop. You can view the tag in the cluster Embedded UI. |
1010
| `RemoveAllTags` | If this parameter value is set to `True`, all the load actors are stopped. |
1111

ydb/docs/en/core/contributor/load-actors-storage.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can generate three types of load:
1313
{% include [load-actors-params](../_includes/load-actors-params.md) %}
1414

1515
| Parameter | Description |
16-
--- | ---
16+
| --- | --- |
1717
| `DurationSeconds` | Load duration. The timer starts upon completion of the initial data allocation. |
1818
| `Tablets` | The load is generated on behalf of a tablet with the following parameters:<ul><li>`TabletId`: Tablet ID. It must be unique for each load actor across all the cluster nodes. This parameter and `TabletName` are mutually exclusive.</li><li>`TabletName`: Tablet name. If the parameter is set, tablets' IDs will be assigned automatically, tablets launched on the same node with the same name will be given the same ID, tablets launched on different nodes will be given different IDs.</li><li>`Channel`: Tablet channel.</li><li>`GroupId`: ID of the storage group to get loaded.</li><li>`Generation`: Tablet generation.</li></ul> |
1919
| `WriteSizes` | Size of the data to write. It is selected randomly for each request from the `Min`-`Max` range. You can set multiple `WriteSizes` ranges, in which case a value from a specific range will be selected based on its `Weight`. |
@@ -32,15 +32,15 @@ You can generate three types of load:
3232
### Write requests class {#write-class}
3333

3434
| Class | Description |
35-
--- | ---
35+
| --- | --- |
3636
| `TabletLog` | The highest priority of write operation. |
3737
| `AsyncBlob` | Used for writing SSTables and their parts. |
3838
| `UserData` | Used for writing user data as separate blobs. |
3939

4040
### Read requests class {#read-class}
4141

4242
| Class | Description |
43-
--- | ---
43+
| --- | --- |
4444
| `AsyncRead` | Used for reading compacted tablets' data. |
4545
| `FastRead` | Used for fast reads initiated by user. |
4646
| `Discover` | Reads from Discover query. |
@@ -53,14 +53,14 @@ You can generate three types of load:
5353
### Parameters of load with hard rate {#hard-rate-dispatcher}
5454

5555
| Parameter | Description |
56-
--- | ---
56+
| --- | --- |
5757
| `RequestRateAtStart` | Requests per second at the moment of load start. If load duration limit is not set then the request rate will remain the same and equal to the value of this parameter. |
5858
| `RequestRateOnFinish` | Requests per second at the moment of load finish. |
5959

6060
### Parameters of initial data allocation {#initial-allocation}
6161

6262
| Parameter | Description |
63-
--- | ---
63+
| --- | --- |
6464
| `TotalSize` | Total size of allocated data. This parameter and `BlobsNumber` are mutually exclusive. |
6565
| `BlobsNumber` | Total number of allocated blobs. |
6666
| `BlobSizes` | Size of the blobs to write. It is selected randomly for each request from the `Min`-`Max` range. You can set multiple `WriteSizes` ranges, in which case a value from a specific range will be selected based on its `Weight`. |

ydb/docs/en/core/contributor/load-actors-vdisk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Generates a write-only load on the VDisk. Simulates a Distributed Storage Proxy.
77
{% include [load-actors-params](../_includes/load-actors-params.md) %}
88

99
| Parameter | Description |
10-
--- | ---
10+
| --- | --- |
1111
| `VDiskId` | Parameters of the VDisk used to generate load.<ul><li>`GroupID`: Group ID.</li><li>`GroupGeneration`: Group generation.</li><li>`Ring`: Group ring ID.</li><li>`Domain`: Ring fail domain ID.</li><li>`VDisk`: Index of the VDisk in the fail domain.</li></ul> |
1212
| `GroupInfo` | Description of the group hosting the loaded VDisk (of the appropriate generation). |
1313
| `TabletId` | ID of the tablet that generates the load. It must be unique for each load actor. |

ydb/docs/en/core/contributor/localdb-uncommitted-txs.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,38 +29,38 @@ Redo log (see [flat_redo_writer.h](https://github.com/ydb-platform/ydb/blob/main
2929
[MemTable](../concepts/glossary.md#memtable) in LocalDB is a relatively small in-memory sorted tree that maps table keys to values. MemTable value is a chain of MVCC (partial) rows, each tagged with a row version (a pair of Step and TxId which is a global timestamp). Rows are normally pre-merged across the given MemTable. For example, let's suppose there have been the following operations for some key K:
3030

3131
| Version | Operation |
32-
--- | ---
32+
| --- | --- |
3333
| `v1000/10` | `UPDATE ... SET A = 1` |
3434
| `v2000/11` | `UPDATE ... SET B = 2` |
3535
| `v3000/12` | `UPDATE ... SET C = 3` |
3636

3737
Then the chain of rows for key K in a single MemTable will look like this:
3838

3939
| Version | Row |
40-
--- | ---
40+
| --- | --- |
4141
| `v3000/12` | `SET A = 1, B = 2, C = 3` |
4242
| `v2000/11` | `SET A = 1, B = 2` |
4343
| `v1000/10` | `SET A = 1` |
4444

4545
However, if the MemTable was split between updates, it may look like this:
4646

4747
| MemTable | Version | Row |
48-
--- | --- | ---
48+
| --- | --- | --- |
4949
| Epoch 2 | `v3000/12` | `SET B = 2, C = 3` |
5050
| Epoch 2 | `v2000/11` | `SET B = 2` |
5151
| Epoch 1 | `v1000/10` | `SET A = 1` |
5252

5353
Changes are applied to the current MemTable, and uncommitted changes are no exception. However, they are tagged with a special version (where Step is the maximum possible number, as if they are in some "distant" future, and TxId is their uncommitted TxId), without any pre-merging. For example, let's suppose we additionally performed the following operations:
5454

5555
| TxId | Operation |
56-
--- | ---
56+
| --- | --- |
5757
| 15 | `UPDATE ... SET C = 10` |
5858
| 13 | `UPDATE ... SET B = 20` |
5959

6060
The update chain for our key K will look like this:
6161

6262
| Version | Row |
63-
--- | ---
63+
| --- | --- |
6464
| `v{max}/13` | `SET B = 20` |
6565
| `v{max}/15` | `SET C = 10` |
6666
| `v3000/12` | `SET A = 1, B = 2, C = 3` |
@@ -74,7 +74,7 @@ Let's suppose we commit tx 13 at `v4000/20`. At that point transaction map is up
7474
Let's suppose we now perform an `UPDATE ... SET A = 30` at version `v5000/21`, the resulting chain will look as follows:
7575

7676
| Version | Row |
77-
--- | ---
77+
| --- | --- |
7878
| `v5000/21` | `SET A = 30, B = 20, C = 3` |
7979
| `v{max}/13` | `SET B = 20` |
8080
| `v{max}/15` | `SET C = 10` |
@@ -93,7 +93,7 @@ Data pages (see [flat_page_data.h](https://github.com/ydb-platform/ydb/blob/main
9393
One key may have several uncommitted delta records, as well as (optionally) the latest committed record data. Historically, data pages could only have one record (and one record pointer) per key, so the record pointer leads to the top of the delta chain, and other records are available via additional per-record offset table for other records:
9494

9595
| Offset | Description |
96-
--- | ---
96+
| --- | --- |
9797
| -X*8 | offset of Main |
9898
| ... | ... |
9999
| -16 | offset of Delta 2 |
@@ -109,7 +109,7 @@ Having a pointer to Delta 0, other records for the same key are available with t
109109
Let's suppose that after writing tx 13 above the MemTable was compacted. Entry for the 32-bit key K may look like this (offsets are relative to the record pointer on the table):
110110

111111
| Offset | Value | Description |
112-
--- | --- | ---
112+
| --- | --- | --- |
113113
| -16 | 58 | offset of Main |
114114
| -8 | 29 | offset of Delta 1 |
115115
| 0 | 0x21 | Delta 0: IsDelta + ERowOp::Upsert |

0 commit comments

Comments
 (0)