Commit Graph

29 Commits

Author SHA1 Message Date
1f2cacedea *: Introduce schema version
To keep DDL change to atomic operation
2015-09-24 17:28:34 +08:00
01f24ad27c kv : Check isolation in MVCC
address review comments.
2015-09-24 11:43:29 +08:00
3d215a852f kv : Add some MVCC test
address review comments.
2015-09-23 20:41:31 +08:00
f5a90ce4ef kv : Add begin version to dbSnapshot.
when we do MVCC get/scan on latest version, we should start with the version
that this transaction begins, not kv.MaxVersion.
2015-09-23 19:22:13 +08:00
78a5e3e8cb kv : Remove some redundant test codes
make code cleaner, address code review comments.
2015-09-22 20:20:23 +08:00
76c60a585c kv : Add some comments, and do some cleanup
Address code review comments.
2015-09-22 20:04:47 +08:00
db8f405fff Merge remote-tracking branch 'origin/c4pt0r/mvcc-support' into c4pt0r/mvcc-support 2015-09-22 18:52:04 +08:00
1c7934b1b9 *: pass golint 1.5.1 2015-09-22 18:01:46 +08:00
20bac87d60 kv : Add some comments, add release interface
address code review comments
2015-09-22 17:51:41 +08:00
3bcbe1baef kv : remove commitId from Commit() function
add another fuction to do this.
2015-09-22 17:25:18 +08:00
d615630af9 kv : Add MvccSnapshot interface
MvccSnapshot interface allow user to get/seek specific version of data.
2015-09-22 14:55:17 +08:00
fce9984e10 kv : Add MvccReader interface
add interface to get/scan specific version
2015-09-21 19:52:49 +08:00
59e65d943a kv : Clarify the semantics of MVCC Delete in BoltDB engine implementation
Nil is the tombstone in MVCC sematics, but in origional implementation we can't
use Nil as value.
2015-09-21 17:50:31 +08:00
c7f86850b3 kv : Fix typo
Versio -> Version
2015-09-21 15:58:11 +08:00
20180eb463 kv : mvcc support
Address code review comments
2015-09-21 14:39:24 +08:00
3ba802b52f kv : add some comments
pass the golint check.
2015-09-20 16:55:48 +08:00
7027bc8e88 kv : add MVCC support to kv
add a simple mvcc get/scan for kv
2015-09-20 12:00:41 +08:00
310083bf5a expression, localstore: Remove unused code 2015-09-14 12:00:17 +08:00
030e0a1bd6 store, parser: Remove unused variables 2015-09-14 10:42:37 +08:00
b540a5a2fd txn: Using %q to format key and value
since key and value could be binary
2015-09-10 15:17:06 +08:00
6e3e1c100d Merge pull request #41 from pingcap/zimuxia/makefile
*: Add "make check"
2015-09-08 16:12:39 +08:00
xia
ed9b0c6e2a *: Update format 2015-09-08 15:40:29 +08:00
ec75577b20 store/localstore: variable rename to pass go vet. 2015-09-08 10:16:58 +08:00
cd935ec5db store/local_store: pass go vet -shadow. 2015-09-07 22:46:46 +08:00
c86ea02946 store/local_store: pass go vet -shadow. 2015-09-07 22:43:48 +08:00
f3c1845ade localstore: fix concurrent txn commit panic 2015-09-07 22:30:33 +08:00
xia
b7431ecf0a *: pass go vet 2015-09-07 16:57:00 +08:00
ffe3543b06 store: update boltdb package import. 2015-09-06 14:09:23 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00