(name string)
| 27 | } |
| 28 | |
| 29 | func (node *Node) HasIndexLock(name string) bool { |
| 30 | if info, ok := node.Indexes[name]; ok { |
| 31 | info.Locked = locker.IndexLockMgr.Get(node.Id, name) |
| 32 | if info.Locked != nil { |
| 33 | return true |
| 34 | } |
| 35 | } |
| 36 | return false |
| 37 | } |
| 38 | |
| 39 | func (node *Node) HasIndex(index string) bool { |
| 40 | if virtIdx[index] { |
no test coverage detected