func checkShard(ps *store.Store) (int, []byte) { it := ps.NewIterator() defer it.Close() count := 0 for it.SeekToFirst(); it.Valid(); it.Next() { count++ } return count, it.Key().Data() }