# address of mongoDB
MONGO_SERVER = 'mongodb://192.168.1.234:27017/'

SCHEDULER_DB = "scheduler"
JOB_COLLECTION = "jobs"

REGISTRY_URL = "registry.milvus.io/milvus/milvus"
IDC_NAS_URL = "//172.16.70.249/test"
DEFAULT_IMAGE = "milvusdb/milvus:latest"

SERVER_HOST_DEFAULT = "127.0.0.1"
SERVER_PORT_DEFAULT = 19530

# milvus version, should be changed by manual
SERVER_VERSION = "2.0.0-RC9"
DEFUALT_DEPLOY_MODE = "single"


HELM_NAMESPACE = "milvus"
BRANCH = "master"

DEFAULT_CPUS = 48

NAS_MOUNT_PATH = '/test'

# path of NAS mount
RAW_DATA_DIR = "/test/milvus/raw_data/"

# nars log
LOG_PATH = "/test/milvus/benchmark/logs/{}/".format(BRANCH)

# Three deployment methods currently supported
DEFAULT_DEPLOY_MODE = "single"
SINGLE_DEPLOY_MODE = "single"
CLUSTER_DEPLOY_MODE = "cluster"
CLUSTER_3RD_DEPLOY_MODE = "cluster_3rd"

# chaos's config
NAMESPACE = "milvus"
CHAOS_NAMESPACE = "chaos-testing"
DEFAULT_API_VERSION = 'chaos-mesh.org/v1alpha1'
DEFAULT_GROUP = 'chaos-mesh.org'
DEFAULT_VERSION = 'v1alpha1'

# MinIO config
MINIO_HOST = "milvus-test-minio.qa-milvus.svc.cluster.local"
MINIO_PORT = 9000
MINIO_ACCESS_KEY = "minioadmin"
MINIO_SECRET_KEY = "minioadmin"
MINIO_BUCKET_NAME = "test"

# precision of params
FLUSH_PRECISION = 4
INDEX_PRECISION = 4
SEARCH_PRECISION = 4
INSERT_PRECISION = 4
QUERY_PRECISION = 4
COMMON_PRECISION = 4

