我建议您熟悉Georgy Rylov撰写的2020年初报告的文字记录:“ WAL-G:新机遇和社区发展”
开源维护者在成长过程中遇到许多问题。如何编写越来越多的必需功能,解决越来越多的问题并设法监视越来越多的请求请求?以WAL-G(PostgreSQL的备份工具)为例,我将讨论如何通过在大学开设开放源代码开发课程来解决这些问题,我们取得了什么成就以及我们将继续前进。
![](https://habrastorage.org/webt/k8/vx/dz/k8vxdz9e6ve7dqwsdwmeku_bbqi.png)
大家好!我是叶卡捷琳堡的Yandex开发人员。今天,我将谈论WAL-G。
该报告的标题没有说这与备份有关。有谁不知道WAL-G是什么?还是大家都知道?举起你的手,谁不知道。Ofiget,您来了这份报告,却不知道它的含义。
, . , . , , , , .
![](https://habrastorage.org/webt/ro/7b/vg/ro7bvgtbfngoiwizj8wpl4hj2vc.png)
, . . WAL-G .
clck.ru/F8ioz — https://www.highload.ru/moscow/2018/abstracts/3964
clck.ru/Ln8Qw — https://www.highload.ru/moscow/2019/abstracts/5981
, , , , . , .
![](https://habrastorage.org/webt/re/fk/1j/refk1juhjwtp89w55gvq-mfnezi.png)
WAL-G , Citus Data. . .
WAL-G :
WAL-G .
![](https://habrastorage.org/webt/f1/ck/4g/f1ck4gnhxeg_fdqnb72su8uxnxi.png)
2020- . , :
- 1 000 GitHub.
- 150 .
- 15 PR.
- .
- issues . , , - .
![](https://habrastorage.org/webt/ni/zh/il/nizhilpavkpzlpifwtjmwosibeu.png)
, , , - Managed Databases .
- 2018- . , - , , . , . - - . , . , .
. . - . , , , , , . – . , . , , . , . , , , , , . . . – , .
PR
- . CI.
- 2 . .
- , , , . end-to-end , .
Open Source
![](https://habrastorage.org/webt/lq/u0/e7/lqu0e7trfspvnwgluvuwlrqaz3y.png)
- , , , .
:
?
, , , , , .
. :
- Open Source.
- CV.
- .
- GSoC.
- +1 , .
, . , WAL-G . Odyssey, PostgreSQL ClickHouse.
, .
?
, , , . ? , . request, .
, .
![](https://habrastorage.org/webt/bz/wy/pv/bzwypvza_vaetwx2wgtf-gmiohu.png)
tablespaces. Tablespaces WAL-G , , WAL-G, WAL-G WAL-E, tablespaces.
, . , Postgres , . , Postgres.
Tablespaces , Postgres, . , tablespac’ .
![](https://habrastorage.org/webt/oe/xd/ix/oexdixzvtuzsrlmeb2jqckunsl0.png)
Postgres? pg_tblspc. , Postgres .
![](https://habrastorage.org/webt/ex/f8/bc/exf8bckfouv7w3gvozcwp6m5xt8.png)
, - . . . - tablespace , . , . , - . – . tablespace. , .
, WAL-E, , WAL-G, . .
![](https://habrastorage.org/webt/aa/gn/3n/aagn3nqfw0vu-9tcy_ti4xld5ty.png)
, , catchup. catchup , , , Oracle, Postgres.
, . - . . , write-ahead log. LSN . - . . -.
? , , . , . - .
– , , . , 10 TB – - . , . catchup.
Catchup -, . LSN catchup , - LSN LSN, . , .
. . . Yandex Postgres, MySQL, MongoDB, Redis, ClickHouse, - , point-in-time recovery MySQL, .
- , WAL-G. , .
. , - . , – postgres’, WAL-G. - . . . Postgres MySQL, MySQL, Postgres.
![](https://habrastorage.org/webt/fd/ii/v1/fdiiv1svgnmo5qhfxl-yeqv0kzu.png)
, , , extensions PostgreSQL. , , MySQL - .
. Postgres, Postgres . MySQL , Postgres MySQL. - . , , .
Postgres, MySQL, MongoDB, Redis
, , – . , , API, WAL-G.
![](https://habrastorage.org/webt/95/cw/np/95cwnptmcsivuqpezf3mryoxtae.png)
, – , . . . , - , , - .
![](https://habrastorage.org/webt/zg/rh/xk/zgrhxkkpzgbjcmd_2nc-wc7sg5m.png)
. . .
MySQL, WAL-G .
MongoDB production, . , . - . , production.
, backup tools . . , point-in-time recovery . - , . backup tools, - , WAL-G, . point-in-time recovery.
![](https://habrastorage.org/webt/ay/km/7q/aykm7qhcekmxotncl-uhelvruuy.png)
? WAL-G Libsodium.
. . - .
![](https://habrastorage.org/webt/ar/nt/ai/arntaih-km8krjuktpvmbolvamq.png)
?
100 . , – . . 100 . - , 30 .
, , . - - . .
14 issues, 10 . , , - .
. 12 . 6 «5». , , .
?
-requests, . :
- HA-. WAL-G . , , , .
- WAL’ .
- , WAL-G , .
? , , 4- , , , . , . WAL-G WAL-G , .
![](https://habrastorage.org/webt/34/ch/kc/34chkcrxfrcsydniilsegajajj8.png)
qr- . . , - . - , - , . .
![](https://habrastorage.org/webt/ak/t6/op/akt6opoptio--sbh-6iyhvwcqku.png)
! ! WAL-G, Postgres. WAL-G MySQL -. CentOS yum install MySQL, MariDB. 10.3 - , MariDB-. ?
MariDB. FoundationDB, , , , . , .
! ! . WAL-G , ?
?
.
, .
() , ! . . — . , Storages. , Storoges . Storage , , , . pull request. , . Go, 50 . WAL-G .
! . – , . , , , ?
. , . . unit-. , . . – , cron, . . . .
. ?
, . . . , , , , - , , . . . , .
! , archive_command WAL-G . - , , . ?
? , , ? ?
() , WAL-G shell-. - , , WAL-G. , , , . – . . , . !
(: shell- issue)
! ! catchup, . , . WAL-G .
赶超实际上是在2020年1月20日出现。该文档可能值得一会儿。我们自己写,但写得不是那么完美。也许值得从学生开始,要求他们编写它。
她已经被释放了吗?
拉取请求已冻结,即我检查了它。我在测试集群上尝试过。到目前为止,我们还没有一个可以用军事例子进行测试的情况。
什么时候可以期待?
我不知道。请等待一个月,我们将进行检查。