File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 19
19
- added|modified: '**/*.md'
20
20
- name : Install packages
21
21
if : ${{ steps.changes.outputs.markdown == 'true' }}
22
- run : pip install -U pangu
22
+ run : |
23
+ pip install -U pangu
24
+ go get -u github.com/vinta/pangu/pangu-axe
25
+ - name : Test tool
26
+ run : pangu -f _docs/zh/administration/backup-request.md
23
27
- name : Check format
24
28
if : ${{ steps.changes.outputs.markdown == 'true' }}
25
- run : for markdown_file in ${{ steps.changes.outputs.markdown_files }}; do diff <( pangu -f ${markdown_file}) <(cat ${markdown_file}) ; done
29
+ run : for markdown_file in ${{ steps.changes.outputs.markdown_files }}; do pangu -f ${markdown_file}; done
26
30
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ permalink: administration/backup-request
3
3
---
4
4
5
5
# 背景
6
- 在当前的 Pegasus 实现中,由于向 secondary 读取会导致不一致的情况发生 ,所以 Pegasus 默认只对 primary 副本的读取。但是在某些情况下(例如:负载均衡、热点写入等)经常会导致 primary 不稳定。因此,我们希望在 primary 不稳定时能够读取 secondary,通过牺牲部分强一致性来降低读请求的长尾并提高系统的可用性。backup request 便是用来实现此功能的。
6
+ 在当前的 Pegasus 实现中,由于向secondary读取会导致不一致的情况发生 ,所以 Pegasus 默认只对 primary 副本的读取。但是在某些情况下(例如:负载均衡、热点写入等)经常会导致 primary 不稳定。因此,我们希望在 primary 不稳定时能够读取 secondary,通过牺牲部分强一致性来降低读请求的长尾并提高系统的可用性。backup request 便是用来实现此功能的。
7
7
8
8
# 设计实现
9
9
You can’t perform that action at this time.
0 commit comments