txnstorage, txnengine: optimizations and fixes (#5068)
txnstorage: add Row.Value txnstorage: remove Table.Index, rename IndexEntries to Index txnstorage: merge PhysicalRow, MVCC, MVCCValues to PhysicalRow, Version txnstorage: remove Row type param from Iter and TableIter txnstorage: add Version.ID; fix Table.Iter txnstorage: use btree path hinting txnstorage, txnengine: add ID type txnstorage: use slice instead of map in DataValue txnstorage: add table benchmark txnstorage: use int64 ID txnstorage: optimize locking of Table txnstorage: fix log tail txnengine: add Request and Response enum txnengine: remove ErrExisted txnengine: remove ErrDatabaseNotFound txnengine: remove ErrRelationNotFound txnengine: remove ErrDefNotFound txnengine: remove ErrIterNotFound txnengine: remove ErrColumnNotFound, ErrReadOnly txnengine: remove error reflection in DoTxnRequest Approved by: @yingfeng, @zhangxu19830126
Showing
- go.mod 1 addition, 1 deletiongo.mod
- go.sum 2 additions, 0 deletionsgo.sum
- pkg/txn/storage/txn/account.go 1 addition, 3 deletionspkg/txn/storage/txn/account.go
- pkg/txn/storage/txn/batch.go 1 addition, 1 deletionpkg/txn/storage/txn/batch.go
- pkg/txn/storage/txn/catalog.go 66 additions, 45 deletionspkg/txn/storage/txn/catalog.go
- pkg/txn/storage/txn/catalog_handler.go 44 additions, 52 deletionspkg/txn/storage/txn/catalog_handler.go
- pkg/txn/storage/txn/catalog_handler_test.go 5 additions, 4 deletionspkg/txn/storage/txn/catalog_handler_test.go
- pkg/txn/storage/txn/data.go 19 additions, 13 deletionspkg/txn/storage/txn/data.go
- pkg/txn/storage/txn/frontend_test.go 2 additions, 2 deletionspkg/txn/storage/txn/frontend_test.go
- pkg/txn/storage/txn/handler.go 3 additions, 2 deletionspkg/txn/storage/txn/handler.go
- pkg/txn/storage/txn/log_tail.go 39 additions, 39 deletionspkg/txn/storage/txn/log_tail.go
- pkg/txn/storage/txn/log_tail_test.go 5 additions, 2 deletionspkg/txn/storage/txn/log_tail_test.go
- pkg/txn/storage/txn/mem_handler.go 217 additions, 195 deletionspkg/txn/storage/txn/mem_handler.go
- pkg/txn/storage/txn/mem_handler_test.go 2 additions, 1 deletionpkg/txn/storage/txn/mem_handler_test.go
- pkg/txn/storage/txn/memtable/atomic.go 1 addition, 1 deletionpkg/txn/storage/txn/memtable/atomic.go
- pkg/txn/storage/txn/memtable/bench_test.go 59 additions, 0 deletionspkg/txn/storage/txn/memtable/bench_test.go
- pkg/txn/storage/txn/memtable/isolation.go 1 addition, 1 deletionpkg/txn/storage/txn/memtable/isolation.go
- pkg/txn/storage/txn/memtable/nullable.go 2 additions, 2 deletionspkg/txn/storage/txn/memtable/nullable.go
- pkg/txn/storage/txn/memtable/physical_iter.go 35 additions, 0 deletionspkg/txn/storage/txn/memtable/physical_iter.go
- pkg/txn/storage/txn/memtable/physical_row.go 92 additions, 46 deletionspkg/txn/storage/txn/memtable/physical_row.go
Please register or sign in to comment