milvus/internal/querycoord/const.go
Xiaofan c97563590c
fix missing handling channels while a node down (#18250)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-07-18 13:06:28 +08:00

25 lines
965 B
Go

package querycoord
import "time"
const (
collectionMetaPrefix = "queryCoord-collectionMeta"
dmChannelMetaPrefix = "queryCoord-dmChannelWatchInfo"
deltaChannelMetaPrefix = "queryCoord-deltaChannel"
ReplicaMetaPrefix = "queryCoord-ReplicaMeta"
// TODO, we shouldn't separate querycoord tasks to 3 meta keys, there should only one with different states, otherwise there will be a high possibility to be inconsitent
triggerTaskPrefix = "queryCoord-triggerTask"
activeTaskPrefix = "queryCoord-activeTask"
taskInfoPrefix = "queryCoord-taskInfo"
queryNodeInfoPrefix = "queryCoord-queryNodeInfo"
// TODO, remove unsubscribe
unsubscribeChannelInfoPrefix = "queryCoord-unsubscribeChannelInfo"
timeoutForRPC = 10 * time.Second
// MaxSendSizeToEtcd is the default limit size of etcd messages that can be sent and received
// MaxSendSizeToEtcd = 2097152
// Limit size of every loadSegmentReq to 200k
MaxSendSizeToEtcd = 200000
)