func GenerateTableKey(tableID, rowID int64) []byte {
	key := codec.GenerateRowKey(tableID, rowID)
	key = append(key, 0xFF)
	return codec.EncodeBytes(key)
}
GenerateTableKey generates the table key according to the table ID and row ID.
package simutil
import (
	"bytes"
	"math/rand"
	"sort"
	"github.com/pingcap/errors"
	"github.com/tikv/pd/pkg/codec"
)
const (
	keyChars = "abcdefghijklmnopqrstuvwxyz"
	keyLen   = 10
)
func GenerateKeys(size int) []string {
	m := make(map[string]struct{}, size)
	for len(m) < size {
		k := make([]byte, keyLen)
		for i := range k {
			k[i] = keyChars[rand.Intn(len(keyChars))]
		}
		m[string(k)] = struct{}{}
	}
	v := make([]string, 0, size)
	for k := range m {
		v = append(v, k)
	}
	sort.Strings(v)
	return v
}