Skip to content

Commit 96a46f9

Browse files
committed
[docs add]乐观锁和悲观锁详解
1 parent 07cbd4e commit 96a46f9

File tree

6 files changed

+353
-239
lines changed

6 files changed

+353
-239
lines changed

docs/.vuepress/sidebar.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export const sidebarConfig = sidebar({
102102
icon: "star",
103103
collapsible: true,
104104
children: [
105+
"optimistic-lock-and-pessimistic-lock",
105106
"jmm",
106107
"java-thread-pool-summary",
107108
"java-thread-pool-best-practices",
@@ -243,10 +244,10 @@ export const sidebarConfig = sidebar({
243244
icon: "star",
244245
collapsible: true,
245246
children: [
246-
"mysql-index",
247+
"mysql-index",
247248
{
248249
text: "MySQL三大日志详解",
249-
link: "mysql-logs",
250+
link: "mysql-logs",
250251
},
251252
"transaction-isolation-level",
252253
"innodb-implementation-of-mvcc",

docs/database/mongodb/mongodb-questions-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ MongoDB 中的记录就是一个 BSON 文档,它是由键值对组成的数据
6060

6161
#### 集合
6262

63-
MongoDB 集合存在于数据库中,**没有固定的结构**,也就是 **无模式** 的,这意味着可以往集合插入不同格式和类型的数据。不过,通常情况相爱插入集合中的数据都会有一定的关联性
63+
MongoDB 集合存在于数据库中,**没有固定的结构**,也就是 **无模式** 的,这意味着可以往集合插入不同格式和类型的数据。不过,通常情况下,插入集合中的数据都会有一定的关联性
6464

6565
![MongoDB 集合](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/database/mongodb/crud-annotated-collection.png)
6666

0 commit comments

Comments
 (0)