Compare commits

...

1 Commits

Author SHA1 Message Date
chaitanya sharma
7a72812b93 Fix the markdown rendering 004-durability.md RFC 2022-05-16 10:11:39 +03:00

View File

@@ -22,7 +22,7 @@ In addition to the WAL safekeeper nodes, the WAL is archived in
S3. WAL that has been archived to S3 can be removed from the S3. WAL that has been archived to S3 can be removed from the
safekeepers, so the safekeepers don't need a lot of disk space. safekeepers, so the safekeepers don't need a lot of disk space.
```
+----------------+ +----------------+
+-----> | WAL safekeeper | +-----> | WAL safekeeper |
| +----------------+ | +----------------+
@@ -42,23 +42,23 @@ safekeepers, so the safekeepers don't need a lot of disk space.
\ \
\ \
\ \
\ +--------+ \ +--------+
\ | | \ | |
+--> | S3 | +------> | S3 |
| | | |
+--------+ +--------+
```
Every WAL safekeeper holds a section of WAL, and a VCL value. Every WAL safekeeper holds a section of WAL, and a VCL value.
The WAL can be divided into three portions: The WAL can be divided into three portions:
```
VCL LSN VCL LSN
| | | |
V V V V
.................ccccccccccccccccccccXXXXXXXXXXXXXXXXXXXXXXX .................ccccccccccccccccccccXXXXXXXXXXXXXXXXXXXXXXX
Archived WAL Completed WAL In-flight WAL Archived WAL Completed WAL In-flight WAL
```
Note that all this WAL kept in a safekeeper is a contiguous section. Note that all this WAL kept in a safekeeper is a contiguous section.
This is different from Aurora: In Aurora, there can be holes in the This is different from Aurora: In Aurora, there can be holes in the