Commit Graph

96 Commits

Author SHA1 Message Date
Gang Yin
e3ca1c3141 update opencc to 1.1.9 2024-08-08 16:52:38 +08:00
Yang
5fdceb5eee fix ch7 translation 2023-09-24 16:00:15 +08:00
Gang Yin
fcd2b77c0c remove redundant spaces 2023-09-24 00:02:42 +08:00
YIN, Gang
209e9dc0a1
Merge pull request #302 from FangYuan33/patch-4
页面展示加粗失效
2023-03-25 22:54:02 +08:00
Gang Yin
57a3bcff35 update zh-tw content 2023-03-25 22:13:33 +08:00
YIN, Gang
6895778fa6
Merge pull request #301 from FangYuan33/patch-3
补充省略的宾语以更容易理解
2023-03-25 22:10:12 +08:00
YIN, Gang
6e615430f7
Merge pull request #300 from FangYuan33/patch-2
补充谓语
2023-03-25 22:09:18 +08:00
方圆
52c2123291
页面展示加粗失效
加粗放在外面能不能修复?
2023-03-25 11:56:41 +08:00
方圆
9f5760f806
补充省略的宾语以更容易理解 2023-03-25 10:32:23 +08:00
方圆
da912f0d24
补充谓语 2023-03-25 09:50:05 +08:00
方圆
ce3a626722
去掉多余的句号 2023-03-25 09:45:14 +08:00
Gang Yin
f070e61e8c fix a comma usage 2023-03-21 21:43:01 +08:00
YIN, Gang
e881befe61
Merge pull request #297 from FangYuan33/patch-4
更正右引号
2023-03-21 21:32:51 +08:00
YIN, Gang
05e3d960b2
Merge pull request #296 from FangYuan33/patch-3
优化翻译
2023-03-21 21:31:11 +08:00
YIN, Gang
19c2b6ac7a
Merge pull request #295 from FangYuan33/patch-2
优化表述
2023-03-21 21:28:19 +08:00
方圆
052ee0f85e
更正右引号 2023-03-21 20:53:01 +08:00
方圆
403af4e080
优化翻译
更正逗号和去掉多余的“属”字
2023-03-21 20:11:19 +08:00
方圆
45936ddb6d
优化表述
这里使用三个*修饰的 I 在页面上显示的可读性太差,第一眼看上去觉得这个I是乱码,反而我觉得这样直接的表述更容易理解
2023-03-21 20:04:34 +08:00
方圆
3b5a0c29a4
客户 -> 客户端 2023-03-21 19:42:46 +08:00
Gang Yin
ae81a5cac0 fix some usages of comma 2023-03-08 17:20:35 +08:00
uncle-lv
0f16a1cad8 docs: ch7.md 错字修订 最着名 -> 最著名 2022-11-10 16:04:05 +08:00
quwang
9c950a034e [docs] ch7 术语统一,写入偏斜->写入偏差,写偏差->写入偏差 2022-10-28 17:39:30 +08:00
Winy Song
95f51ebdf6
Fix “更新丢失” to “丢失更新” in ch7.md
第一处

原文:

> However, read committed does not prevent the race condition between two
> counter increments in Figure 7-1. In this case, the second write happens after the
> first transaction has committed, so it’s not a dirty write. It’s still incorrect, but for
> a different reason—in **“Preventing Lost Updates”** on page 242 we will discuss how
> to make such counter increments safe.

翻译:

> 但是,读已提交并不能防止 [图 7-1](https://github.com/Vonng/ddia/blob/master/img/fig7-1.png) 中两个计数器增量之间的竞争状态。在这种情况下,第二次写入发生在第一个事务提交后,所以它不是一个脏写。这仍然是不正确的,但是出于不同的原因,在 **“[防止更新丢失](https://github.com/Vonng/ddia/blob/master/ch7.md#%E9%98%B2%E6%AD%A2%E4%B8%A2%E5%A4%B1%E6%9B%B4%E6%96%B0)”** 中将讨论如何使这种计数器增量安全。

--------------

第二处

原文:

> **Lost updates**
> Two clients concurrently perform a read-modify-write cycle. One overwrites the
> other’s write without incorporating its changes, so data is lost. Some implemen‐
> tations of snapshot isolation prevent this anomaly automatically, while others
> require a manual lock (SELECT FOR UPDATE).

翻译:

> **更新丢失**
> 两个客户端同时执行 读取 - 修改 - 写入序列。其中一个写操作,在没有合并另一个写入变更情况下,直接覆盖了另一个写操作的结果。所以导致数据丢失。快照隔离的一些实现可以自动防止这种异常,而另一些实现则需要手动锁定(SELECT FOR UPDATE)。
2022-10-12 16:40:00 +08:00
YIN, Gang
284e2d657f
Update ch7.md
materializing conflict -> materializing conflicts
2022-08-05 22:48:43 +08:00
AlphaWang
c564c08884 fix ch7-transaction: serializability 2022-08-01 23:41:25 +08:00
AlphaWang
308066113c fix ch7-transaction: serializability 2022-08-01 23:27:44 +08:00
AlphaWang
85f2242841 fix ch7-transaction: repeatable read 2022-07-30 23:45:32 +08:00
AlphaWang
e38874da61 fix ch7-transaction: Read Committed 2022-07-29 23:34:39 +08:00
BeBraveBeCurious
9ac4ed44fa
Update ch7.md
独占锁的术语统一
2022-05-25 18:17:14 +08:00
YIN, Gang
f293d6e1df
Merge pull request #228 from songzhibin97/patch-38
Update ch7.md
2022-05-08 22:18:04 +08:00
YIN, Gang
032af11d9c
Merge pull request #227 from songzhibin97/patch-37
Update ch7.md
2022-05-08 22:11:51 +08:00
YIN, Gang
5b8d4585b7
Merge pull request #224 from songzhibin97/patch-35
Update ch7.md
2022-05-08 22:08:29 +08:00
songzhibin97
45c580c214
Update ch7.md 2022-05-08 18:52:47 +08:00
songzhibin97
e3c6435c05
Update ch7.md 2022-05-08 17:07:43 +08:00
songzhibin97
2a9382f850
Update ch7.md 2022-05-08 16:13:24 +08:00
songzhibin97
be51c8c1c7
Update ch7.md 2022-05-06 10:01:12 +08:00
songzhibin97
0579bb25a5
Update ch7.md 2022-05-03 17:23:30 +08:00
songzhibin97
e89bc2dce9
Update ch7.md 2022-05-03 17:18:44 +08:00
YIN, Gang
02d8d8717f
Merge pull request #222 from songzhibin97/patch-32
Update ch7.md
2022-05-02 16:08:04 +08:00
songzhibin97
c5e646c67d
Update ch7.md 2022-05-02 15:52:42 +08:00
songzhibin97
9954c71621
Update ch7.md 2022-05-02 14:45:44 +08:00
Gang Yin
34fdbe28c4 fix several section links 2022-01-20 22:06:57 +08:00
Gang Yin
7f7bcad5b4 update text spacing with pangu and some manual adjustments 2022-01-20 14:42:27 +08:00
Gang Yin
d48a0b8120 fix a typo in ch7 and some punctuation marks in ch9 2022-01-10 16:30:09 +08:00
Gang Yin
bbc7bb8d5a fix punctuation marks 2022-01-06 13:42:44 +08:00
Gang Yin
072814f29e fix punctuation marks 2022-01-06 10:48:36 +08:00
cwr31
4c4252e312
不变量->不变式
"certain statements about your data(invariants)",这里的invariants翻译为不变式更为妥当
2022-01-03 10:47:12 +08:00
Gang Yin
c8ed9a15d0 update punction marks 2021-12-23 10:57:51 +08:00
Gang Yin
0b839e08fc remove consecutive parentheses 2021-12-22 15:50:46 +08:00
Zhaoyang
4aaf2d3aef
Update ch7.md
提交
2021-12-19 17:59:36 +08:00