| 44 | ) |
| 45 | |
| 46 | type PeerDataNodeServerImpl struct { |
| 47 | sync.RWMutex |
| 48 | |
| 49 | // session id generator |
| 50 | sequenceID int64 |
| 51 | |
| 52 | metaStore common.MetaStore |
| 53 | diskStore diskstore.DiskStore |
| 54 | |
| 55 | // session id to sessionInfo map |
| 56 | sessions map[int64]*sessionInfo |
| 57 | // tracking of all sessions for each table/shard |
| 58 | tableShardSessions map[tableShardPair][]int64 |
| 59 | } |
| 60 | |
| 61 | type tableShardPair struct { |
| 62 | table string |
nothing calls this directly
no outgoing calls
no test coverage detected