Community journal

The latest from the MySQL community

Ideas, releases, practical guides, and perspectives from the people building with MySQL.

Follow the feed
Showing entries 1 to 1 of 1 « Previous | Next »
Displaying posts with tag: 2PC (reset)
RocksDB TransactionDB事务实现分析

## 基本概念

#### 1. LSN (log sequence number)

RocksDB中的每一条记录(KeyValue)都有一个LogSequenceNumber(后面统称lsn),从最初的0开始,每次写入加1。该值为逻辑量,区别于InnoDB的lsn为redo log物理写入字节量。

这个lsn在RocksDB内部的memtable中是`单调递增`的,在WriteA

【java】  【mysql】  【阿里技术协会】  【Transaction】  【facebook】  【事务】   …

[获取更多]