2022-01-06 10:07:21 +08:00
|
|
|
// Licensed to the LF AI & Data foundation under one
|
|
|
|
// or more contributor license agreements. See the NOTICE file
|
|
|
|
// distributed with this work for additional information
|
|
|
|
// regarding copyright ownership. The ASF licenses this file
|
|
|
|
// to you under the Apache License, Version 2.0 (the
|
|
|
|
// "License"); you may not use this file except in compliance
|
|
|
|
// with the License. You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2021-11-17 12:13:10 +08:00
|
|
|
package util
|
|
|
|
|
2021-12-03 17:15:33 +08:00
|
|
|
// Meta Prefix consts
|
2021-11-17 12:13:10 +08:00
|
|
|
const (
|
|
|
|
SegmentMetaPrefix = "queryCoord-segmentMeta"
|
|
|
|
ChangeInfoMetaPrefix = "queryCoord-sealedSegmentChangeInfo"
|
2022-06-29 23:26:19 +08:00
|
|
|
HandoffSegmentPrefix = "querycoord-handoff"
|
2022-04-11 19:49:34 +08:00
|
|
|
HeaderAuthorize = "authorization"
|
|
|
|
// HeaderSourceID identify requests from Milvus members and client requests
|
|
|
|
HeaderSourceID = "sourceId"
|
|
|
|
// MemberCredID id for Milvus members (data/index/query node/coord component)
|
|
|
|
MemberCredID = "@@milvus-member@@"
|
|
|
|
CredentialSeperator = ":"
|
2022-04-20 13:03:40 +08:00
|
|
|
UserRoot = "root"
|
|
|
|
DefaultRootPassword = "Milvus"
|
2021-11-17 12:13:10 +08:00
|
|
|
)
|