txnstorage, txnengine: various changes (#4708)
txnengine: add ErrReadOnly txnstorage: add CatalogHandler; refactor TestMVCC Approved by: @zhangxu19830126, @lni
Showing
- pkg/txn/storage/txn/catalog_handler.go 598 additions, 0 deletionspkg/txn/storage/txn/catalog_handler.go
- pkg/txn/storage/txn/catalog_handler_test.go 44 additions, 0 deletionspkg/txn/storage/txn/catalog_handler_test.go
- pkg/txn/storage/txn/mem_handler.go 10 additions, 2 deletionspkg/txn/storage/txn/mem_handler.go
- pkg/txn/storage/txn/mem_handler_test.go 6 additions, 1 deletionpkg/txn/storage/txn/mem_handler_test.go
- pkg/txn/storage/txn/mem_storage.go 31 additions, 0 deletionspkg/txn/storage/txn/mem_storage.go
- pkg/txn/storage/txn/mvcc.go 24 additions, 3 deletionspkg/txn/storage/txn/mvcc.go
- pkg/txn/storage/txn/mvcc_test.go 148 additions, 78 deletionspkg/txn/storage/txn/mvcc_test.go
- pkg/txn/storage/txn/read.go 16 additions, 0 deletionspkg/txn/storage/txn/read.go
- pkg/txn/storage/txn/write.go 16 additions, 0 deletionspkg/txn/storage/txn/write.go
- pkg/vm/engine/txn/error.go 36 additions, 0 deletionspkg/vm/engine/txn/error.go
- pkg/vm/engine/txn/hakeeper.go 13 additions, 10 deletionspkg/vm/engine/txn/hakeeper.go
- pkg/vm/engine/txn/operations.go 13 additions, 2 deletionspkg/vm/engine/txn/operations.go
- pkg/vm/engine/txn/shard.go 4 additions, 1 deletionpkg/vm/engine/txn/shard.go
Please register or sign in to comment