Xiang Li
1437388f77
mvcc: force commit and hash should be atomic for getting hash
2016-08-27 19:22:22 -07:00
Xiang Li
e1789aa531
mvcc: only write txn should update index
2016-08-22 22:05:51 -07:00
Xiang Li
de864d3b58
mvcc: fix count
2016-08-10 10:54:25 -07:00
Xiang Li
bd62b0a646
mvcc: attach keys to leases after recover all state
...
The previous logic is wrong. When we have hisotry like Put(foo, bar, lease1),
and Put(foo, bar, lease2), we will end up with attaching foo to two leases 1 and
2. Similar things can happen for deattach by clearing the lease of a key.
Now we try to fix this by starting to attach leases at the end of the recovery.
We use a map to keep the last lease attachment state.
2016-08-04 11:17:58 -07:00
Xiang Li
38035c8c13
Merge pull request #5794 from xiang90/fix_c
...
mvcc: do not hash consistent index
2016-06-28 12:25:32 -07:00
Xiang Li
ef9754910e
mvcc: do not hash consistent index
2016-06-28 09:36:26 -07:00
Xiang Li
9614dc6e71
etcdserver: check index of the kv when restarting
2016-06-27 10:27:27 -07:00
Xiang Li
def21f11a9
*: support count in range query
2016-06-21 16:20:55 -07:00
Gyu-Ho Lee
bf8cf39daf
mvcc: use capnslog
2016-05-20 22:31:22 -07:00
Gyu-Ho Lee
77775e8e92
mvcc: preallocate bytes buffer for saveIndex
2016-05-18 10:01:57 -07:00
Gyu-Ho Lee
9d9f02c1ee
mvcc: update LICENSE header
2016-05-12 20:50:33 -07:00
Gyu-Ho Lee
7a6d9ea01a
mvcc: Hash to return Revision
2016-05-02 15:04:24 -07:00
Xiang Li
ad327e01d0
mvcc: add benchmark for watch put and improve it
2016-04-29 19:58:37 -07:00
Anthony Romano
b7ac758969
*: rename storage package to mvcc
2016-04-25 15:25:51 -07:00