meta: toggle alloc id log.
This commit is contained in:
@ -68,7 +68,9 @@ func (alloc *allocator) Alloc(tableID int64) (int64, error) {
|
||||
}
|
||||
|
||||
alloc.base++
|
||||
log.Infof("Alloc id %d, table ID:%d, from %p, database ID:%d", alloc.base, tableID, alloc, alloc.dbID)
|
||||
if kv.LogTxn {
|
||||
log.Debugf("Alloc id %d, table ID:%d, from %p, database ID:%d", alloc.base, tableID, alloc, alloc.dbID)
|
||||
}
|
||||
return alloc.base, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user