/images/avatar.jpg

Wonder how much further I'll go.

TiDB 分布式事务

PercolatorBigtable provides lookup and update operations on each row, and Bigtable row transactions enable atomic read-modify-write operations on individual rows. PrewriteThe transaction’s constructor asks the timestamp oracle for a start timestamp. In the first phase of commit (“prewrite”), we try to lock all the cells being

事务概览

ACID原子性:当客户想进行多次写入,但在一些写操作处理完之后出现故障的情况。例如进程崩溃,网络连接中断,磁盘变满或者某种完整性约束被违反。

raft 线性一致性

什么是线性一致性 对于同一个对象 x,其初始值为 1,客户端 ABCD 并发地进行了请求,按照真实时间(real-time)顺序,各个事件的发生顺序如上图所

LevelDB Version

版本控制LevelDB如何能够知道每一层有哪些SST文件;如何快速的定位某条数据所在的SST文件;重启后又是如何恢复到之前的状态的,等等这些