mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
[skip e2e]Fix datanode compaction variable typo error (#13630)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
This commit is contained in:
parent
d382d596da
commit
e36f7287ae
@ -254,9 +254,9 @@ func (c *compactionPlanHandler) expireCompaction(ts Timestamp) error {
|
||||
}
|
||||
|
||||
func (c *compactionPlanHandler) isTimeout(now Timestamp, start Timestamp, timeout int32) bool {
|
||||
starttime, _ := tsoutil.ParseTS(start)
|
||||
startTime, _ := tsoutil.ParseTS(start)
|
||||
ts, _ := tsoutil.ParseTS(now)
|
||||
return int32(ts.Sub(starttime).Seconds()) >= timeout
|
||||
return int32(ts.Sub(startTime).Seconds()) >= timeout
|
||||
}
|
||||
|
||||
// isFull return true if the task pool is full
|
||||
|
Loading…
Reference in New Issue
Block a user