mirror of https://github.com/milvus-io/milvus.git
parent
c3d53eb1bf
commit
6edd06083f
|
@ -3852,7 +3852,7 @@ def CheckOperatorSpacing(filename, clean_lines, linenum, error):
|
|||
elif not Match(r'#.*include', line):
|
||||
# Look for < that is not surrounded by spaces. This is only
|
||||
# triggered if both sides are missing spaces, even though
|
||||
# technically should should flag if at least one side is missing a
|
||||
# technically should flag if at least one side is missing a
|
||||
# space. This is done to avoid some false positives with shifts.
|
||||
match = Match(r'^(.*[^\s<])<[^\s=<,]', line)
|
||||
if match:
|
||||
|
|
|
@ -180,7 +180,7 @@ func (kv *etcdKV) LoadBytesWithPrefix(key string) ([]string, [][]byte, error) {
|
|||
return keys, values, nil
|
||||
}
|
||||
|
||||
// LoadBytesWithPrefix2 returns all the the keys,values and key versions with the given key prefix.
|
||||
// LoadBytesWithPrefix2 returns all the keys,values and key versions with the given key prefix.
|
||||
func (kv *etcdKV) LoadBytesWithPrefix2(key string) ([]string, [][]byte, []int64, error) {
|
||||
start := time.Now()
|
||||
key = path.Join(kv.rootPath, key)
|
||||
|
|
|
@ -27,7 +27,7 @@ func TestGroupChecker(t *testing.T) {
|
|||
groupName := `test_group`
|
||||
signal := make(chan []string, 1)
|
||||
// 10ms period which set before is too short
|
||||
// change 10ms to 500ms to ensure the the group checker schedule after the second value stored
|
||||
// change 10ms to 500ms to ensure the group checker schedule after the second value stored
|
||||
duration := 500 * time.Millisecond
|
||||
gc1 := GetGroupChecker(groupName, duration, func(list []string) {
|
||||
signal <- list
|
||||
|
|
Loading…
Reference in New Issue