txnstorage: add IsolationPolicy; refactor conflict error types (#4652)
txnstorage: add IsolationPolicy; refactor conflict error types Approved by: @zhangxu19830126
Showing
- pkg/dnservice/factory.go 1 addition, 1 deletionpkg/dnservice/factory.go
- pkg/txn/storage/txn/isolation.go 35 additions, 0 deletionspkg/txn/storage/txn/isolation.go
- pkg/txn/storage/txn/mem_handler.go 6 additions, 2 deletionspkg/txn/storage/txn/mem_handler.go
- pkg/txn/storage/txn/mem_handler_test.go 1 addition, 1 deletionpkg/txn/storage/txn/mem_handler_test.go
- pkg/txn/storage/txn/mvcc.go 20 additions, 12 deletionspkg/txn/storage/txn/mvcc.go
- pkg/txn/storage/txn/mvcc_test.go 4 additions, 4 deletionspkg/txn/storage/txn/mvcc_test.go
- pkg/txn/storage/txn/table_test.go 1 addition, 1 deletionpkg/txn/storage/txn/table_test.go
- pkg/txn/storage/txn/transaction.go 45 additions, 29 deletionspkg/txn/storage/txn/transaction.go
- pkg/vm/engine/txn/test/node.go 3 additions, 1 deletionpkg/vm/engine/txn/test/node.go
Please register or sign in to comment