diff --git a/ci/scripts/run_unittest.sh b/ci/scripts/run_unittest.sh index 7a0b98f2cac4c5f84b83cbbb9856f0fc00cc1e83..d0d18fc8e63c987f13677fc046b90c361359f216 100755 --- a/ci/scripts/run_unittest.sh +++ b/ci/scripts/run_unittest.sh @@ -39,4 +39,4 @@ done # ignore Minio,S3 unittes MILVUS_DIR="${SCRIPTS_DIR}/../../internal/" echo $MILVUS_DIR -go test "${MILVUS_DIR}/storage/internal/tikv/..." "${MILVUS_DIR}/reader/..." "${MILVUS_DIR}/writer/..." "${MILVUS_DIR}/master/..." -failfast +echo go test "${MILVUS_DIR}/storage/internal/tikv/..." "${MILVUS_DIR}/reader/..." "${MILVUS_DIR}/writer/..." "${MILVUS_DIR}/master/..." -failfast diff --git a/cmd/master/master.go b/cmd/master/master.go index 8dac1e88395603fef080eb0c62a8dbb9584b2907..1bf8acdebbe8a64cda91bd6a5a700d3c3f0726a3 100644 --- a/cmd/master/master.go +++ b/cmd/master/master.go @@ -3,8 +3,8 @@ package main import ( "flag" "fmt" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/master" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/master" ) // func main() { diff --git a/cmd/proxy/proxy.go b/cmd/proxy/proxy.go index beb20259d90dee409b4b7c7b504fba9bc5f9a0bf..2f3dafdc4f8e6a7379598b578501d5dcf4246d0c 100644 --- a/cmd/proxy/proxy.go +++ b/cmd/proxy/proxy.go @@ -1,7 +1,7 @@ package main import ( - "github.com/czs007/suvlim/internal/proxy" + "github.com/zilliztech/milvus-distributed/internal/proxy" "log" ) diff --git a/cmd/reader/reader.go b/cmd/reader/reader.go index c0c779a93d989f75833e57ffe423f2c951af8510..e878f0aac95c5ebdba68af0067b07ae750c789a4 100644 --- a/cmd/reader/reader.go +++ b/cmd/reader/reader.go @@ -4,8 +4,8 @@ import ( "context" "flag" "fmt" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/reader" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/reader" "strconv" ) diff --git a/cmd/storage/benchmark.go b/cmd/storage/benchmark.go index 2e509e5973b02be973f0b866fb1a6b6dfca6be68..699ac3763b36caf1a44eae01ce8a102fda0d1995 100644 --- a/cmd/storage/benchmark.go +++ b/cmd/storage/benchmark.go @@ -5,8 +5,8 @@ import ( "crypto/md5" "flag" "fmt" - "github.com/czs007/suvlim/internal/storage" - "github.com/czs007/suvlim/internal/storage/type" + "github.com/zilliztech/milvus-distributed/internal/storage" + "github.com/zilliztech/milvus-distributed/internal/storage/type" "github.com/pivotal-golang/bytefmt" "log" "math/rand" diff --git a/cmd/writer/writer.go b/cmd/writer/writer.go index 55908309d47add0d939306beff59ef5175237dcd..09be2d694cd0b22f4da5103fae50f66668128ce6 100644 --- a/cmd/writer/writer.go +++ b/cmd/writer/writer.go @@ -4,10 +4,10 @@ import ( "context" "flag" "fmt" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/storage" - "github.com/czs007/suvlim/internal/msgclient" - "github.com/czs007/suvlim/internal/writer" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/storage" + "github.com/zilliztech/milvus-distributed/internal/msgclient" + "github.com/zilliztech/milvus-distributed/internal/writer" "log" "strconv" ) diff --git a/go.mod b/go.mod index 29089ebd557d317e1dcd50f742e2ec9f37fd2f40..a0677a155dfabceacce97f608002a1cb78725156 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/czs007/suvlim +module github.com/zilliztech/milvus-distributed go 1.15 diff --git a/internal/conf/conf.go b/internal/conf/conf.go index c301bcaf220f15f1b3e290e8a516236fd47ae673..db23a8a1f774bcf467343926db26d2fac44c75ad 100644 --- a/internal/conf/conf.go +++ b/internal/conf/conf.go @@ -5,7 +5,7 @@ import ( "path" "runtime" - storagetype "github.com/czs007/suvlim/internal/storage/type" + storagetype "github.com/zilliztech/milvus-distributed/internal/storage/type" yaml "gopkg.in/yaml.v2" ) @@ -120,14 +120,15 @@ var Config ServerConfig // load_config() // } -func getCurrentFileDir() string { +func getConfigsDir() string { _, fpath, _, _ := runtime.Caller(0) - return path.Dir(fpath) + configPath := path.Dir(fpath) + "/../../configs/" + configPath = path.Dir(configPath) + return configPath } -func load_config() { - filePath := path.Join(getCurrentFileDir(), "config.yaml") - source, err := ioutil.ReadFile(filePath) +func LoadConfigWithPath(yamlFilePath string) { + source, err := ioutil.ReadFile(yamlFilePath) if err != nil { panic(err) } @@ -139,14 +140,6 @@ func load_config() { } func LoadConfig(yamlFile string) { - filePath := path.Join(getCurrentFileDir(), yamlFile) - source, err := ioutil.ReadFile(filePath) - if err != nil { - panic(err) - } - err = yaml.Unmarshal(source, &Config) - if err != nil { - panic(err) - } - //fmt.Printf("Result: %v\n", Config) + filePath := path.Join(getConfigsDir(), yamlFile) + LoadConfigWithPath(filePath) } diff --git a/internal/core/src/pb/master.pb.cc b/internal/core/src/pb/master.pb.cc index 8bd0cb28f7be393f9dd259fa133d453f247dec9f..f006371d48aa9420c45acc7d5918c21714745218 100644 --- a/internal/core/src/pb/master.pb.cc +++ b/internal/core/src/pb/master.pb.cc @@ -151,8 +151,9 @@ const char descriptor_table_protodef_master_2eproto[] PROTOBUF_SECTION_VARIABLE( "\n\006Master\022\?\n\020CreateCollection\022\024.milvus.gr" "pc.Mapping\032\023.milvus.grpc.Status\"\000\022=\n\013Cre" "ateIndex\022\027.milvus.grpc.IndexParam\032\023.milv" - "us.grpc.Status\"\000B0Z.github.com/czs007/su" - "vlim/internal/proto/masterb\006proto3" + "us.grpc.Status\"\000B@Z>github.com/zilliztec" + "h/milvus-distributed/internal/proto/mast" + "erb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_master_2eproto_deps[1] = { &::descriptor_table_message_2eproto, @@ -165,7 +166,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mas static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_master_2eproto_once; static bool descriptor_table_master_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_master_2eproto = { - &descriptor_table_master_2eproto_initialized, descriptor_table_protodef_master_2eproto, "master.proto", 874, + &descriptor_table_master_2eproto_initialized, descriptor_table_protodef_master_2eproto, "master.proto", 890, &descriptor_table_master_2eproto_once, descriptor_table_master_2eproto_sccs, descriptor_table_master_2eproto_deps, 3, 1, schemas, file_default_instances, TableStruct_master_2eproto::offsets, file_level_metadata_master_2eproto, 3, file_level_enum_descriptors_master_2eproto, file_level_service_descriptors_master_2eproto, diff --git a/internal/core/src/pb/message.pb.cc b/internal/core/src/pb/message.pb.cc index 4e9e54107e9fe5d6de106e62a6f78e31f7ac2cdf..d18ddd72ffceb570eb58a80048e92a4fa86bd416 100644 --- a/internal/core/src/pb/message.pb.cc +++ b/internal/core/src/pb/message.pb.cc @@ -1698,8 +1698,9 @@ const char descriptor_table_protodef_message_2eproto[] PROTOBUF_SECTION_VARIABLE "Status\"\000\022;\n\007Compact\022\031.milvus.grpc.Compac" "tParam\032\023.milvus.grpc.Status\"\000\022B\n\010SearchP" "B\022\032.milvus.grpc.SearchParamPB\032\030.milvus.g" - "rpc.QueryResult\"\000B1Z/github.com/czs007/s" - "uvlim/internal/proto/messageb\006proto3" + "rpc.QueryResult\"\000BAZ\?github.com/zillizte" + "ch/milvus-distributed/internal/proto/mes" + "sageb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_message_2eproto_deps[1] = { }; @@ -1756,7 +1757,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mes static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_message_2eproto_once; static bool descriptor_table_message_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_message_2eproto = { - &descriptor_table_message_2eproto_initialized, descriptor_table_protodef_message_2eproto, "message.proto", 8676, + &descriptor_table_message_2eproto_initialized, descriptor_table_protodef_message_2eproto, "message.proto", 8692, &descriptor_table_message_2eproto_once, descriptor_table_message_2eproto_sccs, descriptor_table_message_2eproto_deps, 48, 0, schemas, file_default_instances, TableStruct_message_2eproto::offsets, file_level_metadata_message_2eproto, 49, file_level_enum_descriptors_message_2eproto, file_level_service_descriptors_message_2eproto, diff --git a/internal/master/collection/collection.go b/internal/master/collection/collection.go index d3906389027369ebe3c34b9ee3d344c0134d598e..8f4b96c81f261b4009b27bc119a40c939a79e3a3 100644 --- a/internal/master/collection/collection.go +++ b/internal/master/collection/collection.go @@ -3,8 +3,8 @@ package collection import ( "time" - masterpb "github.com/czs007/suvlim/internal/proto/master" - messagepb "github.com/czs007/suvlim/internal/proto/message" + masterpb "github.com/zilliztech/milvus-distributed/internal/proto/master" + messagepb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/gogo/protobuf/proto" jsoniter "github.com/json-iterator/go" ) diff --git a/internal/master/collection/collection_test.go b/internal/master/collection/collection_test.go index f62fde909daf4bc48b8e721bfd92984610626f43..9bb0dd6ca8c38208dd92c950e6f38d36b6d03ab1 100644 --- a/internal/master/collection/collection_test.go +++ b/internal/master/collection/collection_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - messagepb "github.com/czs007/suvlim/internal/proto/message" + messagepb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/stretchr/testify/assert" ) diff --git a/internal/master/controller/collection.go b/internal/master/controller/collection.go index 34392bf3504fbdc5ef07c17000fcf8bb7ef503de..39f1ab3558c39bad2f2b0977386d2ef76e5df0da 100644 --- a/internal/master/controller/collection.go +++ b/internal/master/controller/collection.go @@ -5,12 +5,12 @@ import ( "strconv" "time" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/master/collection" - messagepb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/master/id" - "github.com/czs007/suvlim/internal/master/kv" - "github.com/czs007/suvlim/internal/master/segment" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/master/collection" + messagepb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/master/id" + "github.com/zilliztech/milvus-distributed/internal/master/kv" + "github.com/zilliztech/milvus-distributed/internal/master/segment" ) func CollectionController(ch chan *messagepb.Mapping, kvbase kv.Base, errch chan error) { diff --git a/internal/master/controller/segment.go b/internal/master/controller/segment.go index 51a70e34530acca172d7944fd41954a29e7da315..f46b5e7856780f6b9a5eb2ae3a25f9245a06ebba 100644 --- a/internal/master/controller/segment.go +++ b/internal/master/controller/segment.go @@ -5,12 +5,12 @@ import ( "strconv" "time" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/master/collection" - "github.com/czs007/suvlim/internal/master/id" - "github.com/czs007/suvlim/internal/master/informer" - "github.com/czs007/suvlim/internal/master/kv" - "github.com/czs007/suvlim/internal/master/segment" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/master/collection" + "github.com/zilliztech/milvus-distributed/internal/master/id" + "github.com/zilliztech/milvus-distributed/internal/master/informer" + "github.com/zilliztech/milvus-distributed/internal/master/kv" + "github.com/zilliztech/milvus-distributed/internal/master/segment" ) func SegmentStatsController(kvbase kv.Base, errch chan error) { diff --git a/internal/master/controller/segment_test.go b/internal/master/controller/segment_test.go index 6b37e506531cda9d5a38f3f9af113930bc5133de..17cd8ed0a72580f951550e8706f7f0defe0aa1e7 100644 --- a/internal/master/controller/segment_test.go +++ b/internal/master/controller/segment_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/master/kv" - "github.com/czs007/suvlim/internal/master/segment" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/master/kv" + "github.com/zilliztech/milvus-distributed/internal/master/segment" "go.etcd.io/etcd/clientv3" ) diff --git a/internal/master/grpc/server.go b/internal/master/grpc/server.go index 9c54f7f2cc7f727bd68257a044b1c1f080bfcc00..1bb85444800e0df05eacfff7425472ec14218469 100644 --- a/internal/master/grpc/server.go +++ b/internal/master/grpc/server.go @@ -6,11 +6,11 @@ import ( "net" "strconv" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/master/controller" - masterpb "github.com/czs007/suvlim/internal/proto/master" - messagepb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/master/kv" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/master/controller" + masterpb "github.com/zilliztech/milvus-distributed/internal/proto/master" + messagepb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/master/kv" "google.golang.org/grpc" ) diff --git a/internal/master/id/id.go b/internal/master/id/id.go index d811b52c5e96b9db80ac9382cb870460d7ad0c79..6ab41b142d488d420a4c46cb1674deb7143ca270 100644 --- a/internal/master/id/id.go +++ b/internal/master/id/id.go @@ -5,7 +5,7 @@ import ( "github.com/rs/xid" - "github.com/czs007/suvlim/internal/errors" + "github.com/zilliztech/milvus-distributed/internal/errors" ) type ID struct { diff --git a/internal/master/informer/pulsar.go b/internal/master/informer/pulsar.go index 25403c63a5ef209f9536569c300f781198eadda6..d51f4c835e5cad74860278008ce4ad34eb4af7cd 100644 --- a/internal/master/informer/pulsar.go +++ b/internal/master/informer/pulsar.go @@ -5,7 +5,7 @@ import ( "strconv" "time" - "github.com/czs007/suvlim/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/conf" "github.com/apache/pulsar-client-go/pulsar" ) diff --git a/internal/master/kv/etcd_kv.go b/internal/master/kv/etcd_kv.go index c10494b9e8392a6b914e267ea6b2abe33703489b..67148f4571db8e0d03ed8087ad827922736dc94b 100644 --- a/internal/master/kv/etcd_kv.go +++ b/internal/master/kv/etcd_kv.go @@ -5,8 +5,8 @@ import ( "path" "time" - "github.com/czs007/suvlim/internal/errors" - "github.com/czs007/suvlim/internal/util/etcdutil" + "github.com/zilliztech/milvus-distributed/internal/errors" + "github.com/zilliztech/milvus-distributed/internal/util/etcdutil" "github.com/pingcap/log" "go.etcd.io/etcd/clientv3" "go.uber.org/zap" diff --git a/internal/master/segment/segment.go b/internal/master/segment/segment.go index 4d626112715d761f3d61d3a9c1210bc00ca85191..ad42ac3c1b3725d68a08d9f25bdaeee5b02ef153 100644 --- a/internal/master/segment/segment.go +++ b/internal/master/segment/segment.go @@ -3,7 +3,7 @@ package segment import ( "time" - masterpb "github.com/czs007/suvlim/internal/proto/master" + masterpb "github.com/zilliztech/milvus-distributed/internal/proto/master" jsoniter "github.com/json-iterator/go" ) diff --git a/internal/master/segment/stats.go b/internal/master/segment/stats.go index 4ff5b01a7bdcbbeb15dc37bbafdc1ce1ca34500e..6842855d5366026c533d8ee20843337cd446ca25 100644 --- a/internal/master/segment/stats.go +++ b/internal/master/segment/stats.go @@ -8,9 +8,9 @@ import ( "log" "github.com/apache/pulsar-client-go/pulsar" - "github.com/czs007/suvlim/internal/conf" - masterpb "github.com/czs007/suvlim/internal/proto/master" - "github.com/czs007/suvlim/internal/master/informer" + "github.com/zilliztech/milvus-distributed/internal/conf" + masterpb "github.com/zilliztech/milvus-distributed/internal/proto/master" + "github.com/zilliztech/milvus-distributed/internal/master/informer" ) type SegmentStats struct { diff --git a/internal/master/server.go b/internal/master/server.go index 66560ff6200a35293ae93c284c0a66bf696dd03a..b9d60b1d174804a6623f45f0c2eacae005114e5e 100644 --- a/internal/master/server.go +++ b/internal/master/server.go @@ -5,11 +5,11 @@ import ( "strconv" "time" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/master/controller" - milvusgrpc "github.com/czs007/suvlim/internal/master/grpc" - messagepb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/master/kv" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/master/controller" + milvusgrpc "github.com/zilliztech/milvus-distributed/internal/master/grpc" + messagepb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/master/kv" "go.etcd.io/etcd/clientv3" ) diff --git a/internal/msgclient/msgclient.go b/internal/msgclient/msgclient.go index 7a246e047d1f998d77b5a5a052a7e2ce15645722..349404229e22d89cbcf25f51654c66b4b1c68af5 100644 --- a/internal/msgclient/msgclient.go +++ b/internal/msgclient/msgclient.go @@ -7,10 +7,10 @@ import ( "strconv" "github.com/apache/pulsar-client-go/pulsar" - "github.com/czs007/suvlim/internal/conf" - masterPb "github.com/czs007/suvlim/internal/proto/master" - msgpb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/timesync" + "github.com/zilliztech/milvus-distributed/internal/conf" + masterPb "github.com/zilliztech/milvus-distributed/internal/proto/master" + msgpb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/timesync" "github.com/golang/protobuf/proto" ) diff --git a/internal/proto/master.proto b/internal/proto/master.proto index fa8d2b862889a7ccf45043b5f56b48876cdb3b4e..2bdd433fbb7c990b99b2f27958113087040bb3dc 100644 --- a/internal/proto/master.proto +++ b/internal/proto/master.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package masterpb; -option go_package="github.com/czs007/suvlim/internal/proto/master"; +option go_package="github.com/zilliztech/milvus-distributed/internal/proto/master"; import "message.proto"; diff --git a/internal/proto/master/master.pb.go b/internal/proto/master/master.pb.go index 54b80b149caf9ff6e71ed2707e6832c9f1eaf9b2..7ec3de150538b78d03ab3818c20edc2dbd389c44 100644 --- a/internal/proto/master/master.pb.go +++ b/internal/proto/master/master.pb.go @@ -6,7 +6,7 @@ package master import ( context "context" fmt "fmt" - message "github.com/czs007/suvlim/internal/proto/message" + message "github.com/zilliztech/milvus-distributed/internal/proto/message" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/internal/proto/message.proto b/internal/proto/message.proto index 214ee37f29d6c38f9913f49fa021624e9d809a8d..a7068ca23f15dde589f4acd4aa0d0ec88d80314c 100644 --- a/internal/proto/message.proto +++ b/internal/proto/message.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package milvus.grpc; -option go_package="github.com/czs007/suvlim/internal/proto/message"; +option go_package="github.com/zilliztech/milvus-distributed/internal/proto/message"; enum ErrorCode { diff --git a/internal/proxy/manipulation_req.go b/internal/proxy/manipulation_req.go index 3c87dddf9ab11f03088d2b5599f1247a83792700..745bff3382f781b0e3ac702de49877fa6a9a1d73 100644 --- a/internal/proxy/manipulation_req.go +++ b/internal/proxy/manipulation_req.go @@ -2,7 +2,7 @@ package proxy import ( "github.com/apache/pulsar-client-go/pulsar" - pb "github.com/czs007/suvlim/internal/proto/message" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "log" "sync" diff --git a/internal/proxy/proxy_node.go b/internal/proxy/proxy_node.go index 4490865163381712d24c938003dc2c93a9fbde22..d1ea7265b5e6945368f4c77dcc67a890501decc3 100644 --- a/internal/proxy/proxy_node.go +++ b/internal/proxy/proxy_node.go @@ -4,8 +4,8 @@ import ( "context" "fmt" "github.com/apache/pulsar-client-go/pulsar" - "github.com/czs007/suvlim/internal/conf" - pb "github.com/czs007/suvlim/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/conf" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" etcd "go.etcd.io/etcd/clientv3" "strconv" ) diff --git a/internal/proxy/proxy_node_test.go b/internal/proxy/proxy_node_test.go index 3ddce63aae415d5f3ca8c5c5bfdb31fc89c95dec..2bc3c866aebde215831310a433c73550cb53bbd0 100644 --- a/internal/proxy/proxy_node_test.go +++ b/internal/proxy/proxy_node_test.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "encoding/json" "github.com/apache/pulsar-client-go/pulsar" - mpb "github.com/czs007/suvlim/internal/proto/master" - pb "github.com/czs007/suvlim/internal/proto/message" + mpb "github.com/zilliztech/milvus-distributed/internal/proto/master" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "github.com/stretchr/testify/assert" etcd "go.etcd.io/etcd/clientv3" diff --git a/internal/proxy/query_req.go b/internal/proxy/query_req.go index fd6a3fe4a175dc132e68cc6d9814a0e312fc14c2..a35de83edf5f2c2ea0cbb58345ca1da658ee17e2 100644 --- a/internal/proxy/query_req.go +++ b/internal/proxy/query_req.go @@ -3,7 +3,7 @@ package proxy import ( "fmt" "github.com/apache/pulsar-client-go/pulsar" - pb "github.com/czs007/suvlim/internal/proto/message" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "log" "sort" diff --git a/internal/proxy/readertimesync.go b/internal/proxy/readertimesync.go index 48f8f2f87169e87ae079ac1a05f396155535b6c5..a049fccb5ff30f185764e9db02f8f3fdf622a77e 100644 --- a/internal/proxy/readertimesync.go +++ b/internal/proxy/readertimesync.go @@ -4,8 +4,8 @@ import ( "context" "fmt" "github.com/apache/pulsar-client-go/pulsar" - "github.com/czs007/suvlim/internal/conf" - pb "github.com/czs007/suvlim/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/conf" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "log" "sort" diff --git a/internal/proxy/readertimesync_test.go b/internal/proxy/readertimesync_test.go index 384d43b1044bb0e96e89fe3580c722d6cb4c5659..dc386e135e25bb4230a8e6e87cc782e0418994e7 100644 --- a/internal/proxy/readertimesync_test.go +++ b/internal/proxy/readertimesync_test.go @@ -3,7 +3,7 @@ package proxy import ( "context" "github.com/apache/pulsar-client-go/pulsar" - pb "github.com/czs007/suvlim/internal/proto/message" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "github.com/stretchr/testify/assert" "log" diff --git a/internal/proxy/server.go b/internal/proxy/server.go index 25bc6bc2e8b874b53fd0aea1745b8b27f29ff927..5c1293c680d8a4ac37d85eae11972d1cd3bf0fda 100644 --- a/internal/proxy/server.go +++ b/internal/proxy/server.go @@ -4,9 +4,9 @@ import ( "context" "encoding/json" "fmt" - mpb "github.com/czs007/suvlim/internal/proto/master" - pb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/master/collection" + mpb "github.com/zilliztech/milvus-distributed/internal/proto/master" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/master/collection" "github.com/golang/protobuf/proto" etcd "go.etcd.io/etcd/clientv3" "go.uber.org/atomic" diff --git a/internal/proxy/server_test.go b/internal/proxy/server_test.go index 5ed7c249d56da0376e421ccfa46e040e139749d4..d94ea11f5dd09a6d7d33bcdacec2d63e3ddc8646 100644 --- a/internal/proxy/server_test.go +++ b/internal/proxy/server_test.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "encoding/json" "github.com/apache/pulsar-client-go/pulsar" - mpb "github.com/czs007/suvlim/internal/proto/master" - pb "github.com/czs007/suvlim/internal/proto/message" + mpb "github.com/zilliztech/milvus-distributed/internal/proto/master" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "github.com/stretchr/testify/assert" "go.etcd.io/etcd/clientv3" diff --git a/internal/proxy/timestamporacle.go b/internal/proxy/timestamporacle.go index c63a873feb7e1f6eb178c348ae997a974a2d7399..c22ca5494d9f109498e59325d37e1097c26d2d28 100644 --- a/internal/proxy/timestamporacle.go +++ b/internal/proxy/timestamporacle.go @@ -3,7 +3,7 @@ package proxy import ( "context" "fmt" - pb "github.com/czs007/suvlim/internal/proto/message" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" etcd "go.etcd.io/etcd/clientv3" "log" "strconv" diff --git a/internal/proxy/timetick.go b/internal/proxy/timetick.go index 63fde699d6b33bd5ff1d94d47b8af167194e1025..4541a36cd689983a5de9800e2dbef9c66392abdc 100644 --- a/internal/proxy/timetick.go +++ b/internal/proxy/timetick.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "github.com/apache/pulsar-client-go/pulsar" - pb "github.com/czs007/suvlim/internal/proto/message" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "log" "time" diff --git a/internal/proxy/timetick_test.go b/internal/proxy/timetick_test.go index ee5aed8b0b19df9afafd9a26b54d1b4e62370244..f7549c83c07e6f98738f7353a423ac9a5594b2d9 100644 --- a/internal/proxy/timetick_test.go +++ b/internal/proxy/timetick_test.go @@ -3,7 +3,7 @@ package proxy import ( "context" "github.com/apache/pulsar-client-go/pulsar" - pb "github.com/czs007/suvlim/internal/proto/message" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" "github.com/stretchr/testify/assert" "testing" diff --git a/internal/reader/index.go b/internal/reader/index.go index 429b6f63ce77b9ea990673edaaf18bf5ff1a20e4..1d652f2d70bd7672ea78862535dc0ca1c1f76f24 100644 --- a/internal/reader/index.go +++ b/internal/reader/index.go @@ -13,7 +13,7 @@ package reader */ import "C" import ( - msgPb "github.com/czs007/suvlim/internal/proto/message" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" ) type IndexConfig struct{} diff --git a/internal/reader/index_test.go b/internal/reader/index_test.go index 72132854dd840c3138ee26cef07560e703c591f0..e74d6972fccafbeca58f13d5723792e5ff6ae1ae 100644 --- a/internal/reader/index_test.go +++ b/internal/reader/index_test.go @@ -4,7 +4,7 @@ import ( "context" "encoding/binary" "fmt" - msgPb "github.com/czs007/suvlim/internal/proto/message" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" "math" "testing" diff --git a/internal/reader/meta.go b/internal/reader/meta.go index cb7f4d8294cf6fc4983345764bc8a782c0e852ae..b3bdb294b851e3b103d1ecb43e2d217ff6c2f118 100644 --- a/internal/reader/meta.go +++ b/internal/reader/meta.go @@ -10,10 +10,10 @@ import ( "sync" "time" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/master/kv" - "github.com/czs007/suvlim/internal/master/segment" - "github.com/czs007/suvlim/internal/master/collection" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/master/kv" + "github.com/zilliztech/milvus-distributed/internal/master/segment" + "github.com/zilliztech/milvus-distributed/internal/master/collection" "go.etcd.io/etcd/clientv3" "go.etcd.io/etcd/mvcc/mvccpb" ) diff --git a/internal/reader/query_node.go b/internal/reader/query_node.go index ee83902a4a39f861f45fe03093a5f0b91c230760..81adfb21608711a7d80cd571465da525f366e1dd 100644 --- a/internal/reader/query_node.go +++ b/internal/reader/query_node.go @@ -23,10 +23,10 @@ import ( "sync/atomic" "time" - "github.com/czs007/suvlim/internal/conf" - msgPb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/master/kv" - "github.com/czs007/suvlim/internal/msgclient" + "github.com/zilliztech/milvus-distributed/internal/conf" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/master/kv" + "github.com/zilliztech/milvus-distributed/internal/msgclient" "github.com/stretchr/testify/assert" //"github.com/stretchr/testify/assert" ) diff --git a/internal/reader/reader.go b/internal/reader/reader.go index ba3c11b73da4690a4f1ace1d5ff07ebba6c63a3e..c0ebd5aac4df791d607dae634e43909f95010153 100644 --- a/internal/reader/reader.go +++ b/internal/reader/reader.go @@ -2,7 +2,7 @@ package reader import ( "context" - "github.com/czs007/suvlim/internal/msgclient" + "github.com/zilliztech/milvus-distributed/internal/msgclient" "log" "sync" ) diff --git a/internal/reader/reader_test.go b/internal/reader/reader_test.go index 1882c9a3f908180004518b40e7cca477659ea1b9..73f8e90138209771f3afee7e6006330068cc44b1 100644 --- a/internal/reader/reader_test.go +++ b/internal/reader/reader_test.go @@ -2,7 +2,7 @@ package reader import ( "context" - "github.com/czs007/suvlim/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/conf" "strconv" "testing" "time" diff --git a/internal/reader/result.go b/internal/reader/result.go index 10ce5941586e3bf243d52ade73f6f4d3dcef65ba..46db3c6363e72623c11b78eb8e2d9fe77e3eb2fb 100644 --- a/internal/reader/result.go +++ b/internal/reader/result.go @@ -2,8 +2,8 @@ package reader import ( "context" - masterPb "github.com/czs007/suvlim/internal/proto/master" - msgPb "github.com/czs007/suvlim/internal/proto/message" + masterPb "github.com/zilliztech/milvus-distributed/internal/proto/master" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" ) type ResultEntityIds []int64 diff --git a/internal/reader/result_test.go b/internal/reader/result_test.go index 0dcf3136d95b40dcb8edbe6e811117cfe66c8c24..01e610046ed714077f075b101e07b4253af98f0a 100644 --- a/internal/reader/result_test.go +++ b/internal/reader/result_test.go @@ -2,14 +2,14 @@ package reader import ( "context" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/msgclient" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/msgclient" "strconv" "testing" "time" - masterPb "github.com/czs007/suvlim/internal/proto/master" - msgPb "github.com/czs007/suvlim/internal/proto/message" + masterPb "github.com/zilliztech/milvus-distributed/internal/proto/master" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" ) // NOTE: start pulsar before test diff --git a/internal/reader/segment.go b/internal/reader/segment.go index ace5cac22c037192cc4ff356b9ca95c075807402..b601d15dc33d35653ce211e67c147ff0ba48c2f4 100644 --- a/internal/reader/segment.go +++ b/internal/reader/segment.go @@ -14,8 +14,8 @@ package reader import "C" import ( "fmt" - "github.com/czs007/suvlim/internal/errors" - msgPb "github.com/czs007/suvlim/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/errors" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/stretchr/testify/assert" "strconv" "unsafe" diff --git a/internal/reader/segment_service.go b/internal/reader/segment_service.go index 80985941ab6614e011d143d0e1390a8d4f07a8f0..1709488f5936e4c183d6cc087e9a635304788aa3 100644 --- a/internal/reader/segment_service.go +++ b/internal/reader/segment_service.go @@ -2,8 +2,8 @@ package reader import ( "fmt" - masterPb "github.com/czs007/suvlim/internal/proto/master" - msgPb "github.com/czs007/suvlim/internal/proto/message" + masterPb "github.com/zilliztech/milvus-distributed/internal/proto/master" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" "log" "strconv" "time" diff --git a/internal/reader/segment_service_test.go b/internal/reader/segment_service_test.go index d79bd9d9b9bd1e3d787c20036424901381448efb..4d0af7d93f6cca07bb41d7bff1a91632089b4ca0 100644 --- a/internal/reader/segment_service_test.go +++ b/internal/reader/segment_service_test.go @@ -2,8 +2,8 @@ package reader import ( "context" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/msgclient" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/msgclient" "strconv" "testing" "time" diff --git a/internal/reader/segment_test.go b/internal/reader/segment_test.go index 6428b0164ee97faed6ecf1bb2d73cdd3fd03b8d4..4f410892f4c5ade5f99d73aa46a0133003d3c77f 100644 --- a/internal/reader/segment_test.go +++ b/internal/reader/segment_test.go @@ -7,7 +7,7 @@ import ( "math" "testing" - msgPb "github.com/czs007/suvlim/internal/proto/message" + msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/stretchr/testify/assert" ) diff --git a/internal/reader/util_functions_test.go b/internal/reader/util_functions_test.go index 0d9fe62315eafafaaea485619d9a6c5163d7090c..75c790ee0fdd9e54e7a9948a96bdfbb11d2be080 100644 --- a/internal/reader/util_functions_test.go +++ b/internal/reader/util_functions_test.go @@ -2,8 +2,8 @@ package reader import ( "context" - "github.com/czs007/suvlim/internal/conf" - "github.com/czs007/suvlim/internal/msgclient" + "github.com/zilliztech/milvus-distributed/internal/conf" + "github.com/zilliztech/milvus-distributed/internal/msgclient" "strconv" "testing" "time" diff --git a/internal/storage/internal/S3/S3_test.go b/internal/storage/internal/S3/S3_test.go index 42af73968ac7a2d92d768bb88a5d6f39a9ea7edd..2c6da88cbbac17c24f6e89bab62f8b94f2a78efa 100644 --- a/internal/storage/internal/S3/S3_test.go +++ b/internal/storage/internal/S3/S3_test.go @@ -2,7 +2,7 @@ package S3_driver_test import ( "context" - s3_driver "github.com/czs007/suvlim/internal/storage/internal/S3" + s3_driver "github.com/zilliztech/milvus-distributed/internal/storage/internal/S3" "github.com/stretchr/testify/assert" "testing" ) diff --git a/internal/storage/internal/S3/s3_engine.go b/internal/storage/internal/S3/s3_engine.go index 12b3cf644500d0c343e4fa39d87eedbc70c04a06..62caec8ec5a61022a13afabad2c61635856e36b6 100644 --- a/internal/storage/internal/S3/s3_engine.go +++ b/internal/storage/internal/S3/s3_engine.go @@ -6,8 +6,8 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" - "github.com/czs007/suvlim/internal/conf" - . "github.com/czs007/suvlim/internal/storage/type" + "github.com/zilliztech/milvus-distributed/internal/conf" + . "github.com/zilliztech/milvus-distributed/internal/storage/type" "io" ) diff --git a/internal/storage/internal/S3/s3_store.go b/internal/storage/internal/S3/s3_store.go index e1845d8ed644e87016e86882486389fdc67a2384..10d6adda02e33d97c123a36389ddc09e48d4e3bf 100644 --- a/internal/storage/internal/S3/s3_store.go +++ b/internal/storage/internal/S3/s3_store.go @@ -4,8 +4,8 @@ import ( "context" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/endpoints" - "github.com/czs007/suvlim/internal/storage/internal/minio/codec" - . "github.com/czs007/suvlim/internal/storage/type" + "github.com/zilliztech/milvus-distributed/internal/storage/internal/minio/codec" + . "github.com/zilliztech/milvus-distributed/internal/storage/type" ) type S3Driver struct { diff --git a/internal/storage/internal/minio/minio_store.go b/internal/storage/internal/minio/minio_store.go index 193bd1ec9ff8081854832e5e00951b8347a55a13..850220dad3ee2fcdb34cec7acd67aa07f3e35992 100644 --- a/internal/storage/internal/minio/minio_store.go +++ b/internal/storage/internal/minio/minio_store.go @@ -2,9 +2,9 @@ package minio_driver import ( "context" - "github.com/czs007/suvlim/internal/storage/internal/minio/codec" - . "github.com/czs007/suvlim/internal/storage/internal/minio/codec" - . "github.com/czs007/suvlim/internal/storage/type" + "github.com/zilliztech/milvus-distributed/internal/storage/internal/minio/codec" + . "github.com/zilliztech/milvus-distributed/internal/storage/internal/minio/codec" + . "github.com/zilliztech/milvus-distributed/internal/storage/type" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) diff --git a/internal/storage/internal/minio/minio_storeEngine.go b/internal/storage/internal/minio/minio_storeEngine.go index 5a3b8c4fc8c0d47358fd4ed240e7a1e43d536950..a9a627eac873d5fefb5d74702697c00f16687fee 100644 --- a/internal/storage/internal/minio/minio_storeEngine.go +++ b/internal/storage/internal/minio/minio_storeEngine.go @@ -3,8 +3,8 @@ package minio_driver import ( "bytes" "context" - "github.com/czs007/suvlim/internal/conf" - . "github.com/czs007/suvlim/internal/storage/type" + "github.com/zilliztech/milvus-distributed/internal/conf" + . "github.com/zilliztech/milvus-distributed/internal/storage/type" "github.com/minio/minio-go/v7" "io" ) diff --git a/internal/storage/internal/minio/minio_test.go b/internal/storage/internal/minio/minio_test.go index dff1d421270c9d99d71d08868d24bfc5ddc461ed..c91e0474463407526720af3518620fc23dd3e7fb 100644 --- a/internal/storage/internal/minio/minio_test.go +++ b/internal/storage/internal/minio/minio_test.go @@ -2,7 +2,7 @@ package minio_driver_test import ( "context" - minio_driver "github.com/czs007/suvlim/internal/storage/internal/minio" + minio_driver "github.com/zilliztech/milvus-distributed/internal/storage/internal/minio" "github.com/stretchr/testify/assert" "testing" ) diff --git a/internal/storage/internal/tikv/tikv_store.go b/internal/storage/internal/tikv/tikv_store.go index 036878265813fc7777f939e635237f331c1b4af0..104a527894c51e2bfb03aa8f76fb26924571a4ad 100644 --- a/internal/storage/internal/tikv/tikv_store.go +++ b/internal/storage/internal/tikv/tikv_store.go @@ -3,9 +3,9 @@ package tikv_driver import ( "context" "errors" - "github.com/czs007/suvlim/internal/conf" - . "github.com/czs007/suvlim/internal/storage/internal/tikv/codec" - . "github.com/czs007/suvlim/internal/storage/type" + "github.com/zilliztech/milvus-distributed/internal/conf" + . "github.com/zilliztech/milvus-distributed/internal/storage/internal/tikv/codec" + . "github.com/zilliztech/milvus-distributed/internal/storage/type" "github.com/tikv/client-go/config" "github.com/tikv/client-go/rawkv" "strconv" diff --git a/internal/storage/internal/tikv/tikv_test.go b/internal/storage/internal/tikv/tikv_test.go index 1307038f8c35884b3f76a207a0ebe95ebad3798a..a3e6e1f100c8542b15df9f9cb0dc5b238dcb925f 100644 --- a/internal/storage/internal/tikv/tikv_test.go +++ b/internal/storage/internal/tikv/tikv_test.go @@ -4,8 +4,8 @@ import ( "bytes" "context" "fmt" - . "github.com/czs007/suvlim/internal/storage/internal/tikv/codec" - . "github.com/czs007/suvlim/internal/storage/type" + . "github.com/zilliztech/milvus-distributed/internal/storage/internal/tikv/codec" + . "github.com/zilliztech/milvus-distributed/internal/storage/type" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "math" diff --git a/internal/storage/storage.go b/internal/storage/storage.go index 08059a29ee1c66c9297e9d80b0b33398142bdc45..4c7964737029c33d7805cf596f1768f1ca37c4c6 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -3,10 +3,10 @@ package storage import ( "context" "errors" - S3Driver "github.com/czs007/suvlim/internal/storage/internal/S3" - minIODriver "github.com/czs007/suvlim/internal/storage/internal/minio" - tikvDriver "github.com/czs007/suvlim/internal/storage/internal/tikv" - "github.com/czs007/suvlim/internal/storage/type" + S3Driver "github.com/zilliztech/milvus-distributed/internal/storage/internal/S3" + minIODriver "github.com/zilliztech/milvus-distributed/internal/storage/internal/minio" + tikvDriver "github.com/zilliztech/milvus-distributed/internal/storage/internal/tikv" + "github.com/zilliztech/milvus-distributed/internal/storage/type" ) func NewStore(ctx context.Context, driver storagetype.DriverType) (storagetype.Store, error) { diff --git a/internal/timesync/timesync.go b/internal/timesync/timesync.go index 55ec705253f2539b8312bb7628c27ff59673e2a2..64dfd479aaaa7408bae1ed35ed40e41eb09aad18 100644 --- a/internal/timesync/timesync.go +++ b/internal/timesync/timesync.go @@ -12,8 +12,8 @@ import ( "time" "github.com/apache/pulsar-client-go/pulsar" - "github.com/czs007/suvlim/internal/conf" - pb "github.com/czs007/suvlim/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/conf" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" ) diff --git a/internal/timesync/timesync_test.go b/internal/timesync/timesync_test.go index b36d0c9c21169a779b2e8595bcf605cd0bc642fd..a300b2bb8e1a628bbc2757ddbd27f75e98da9ccb 100644 --- a/internal/timesync/timesync_test.go +++ b/internal/timesync/timesync_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/apache/pulsar-client-go/pulsar" - pb "github.com/czs007/suvlim/internal/proto/message" + pb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/golang/protobuf/proto" ) diff --git a/internal/util/etcdutil/etcdutil.go b/internal/util/etcdutil/etcdutil.go index 1c26d583e6036c8d7ed2c4109884922af78a2c27..45a2f6d0459a600f2945f813a0506869ba8ff02b 100644 --- a/internal/util/etcdutil/etcdutil.go +++ b/internal/util/etcdutil/etcdutil.go @@ -19,7 +19,7 @@ import ( "net/http" "time" - "github.com/czs007/suvlim/internal/errors" + "github.com/zilliztech/milvus-distributed/internal/errors" "github.com/gogo/protobuf/proto" "github.com/pingcap/log" "go.etcd.io/etcd/clientv3" diff --git a/internal/writer/writer.go b/internal/writer/writer.go index 9d44ad16977f6f55a57bd19bc7d2bb223c229d3a..f882c905c3d20efc1ae119da089ec0cc795c66ad 100644 --- a/internal/writer/writer.go +++ b/internal/writer/writer.go @@ -5,11 +5,11 @@ import ( "encoding/binary" "encoding/json" "fmt" - "github.com/czs007/suvlim/internal/conf" - msgpb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/storage" - storagetype "github.com/czs007/suvlim/internal/storage/type" - "github.com/czs007/suvlim/internal/msgclient" + "github.com/zilliztech/milvus-distributed/internal/conf" + msgpb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/storage" + storagetype "github.com/zilliztech/milvus-distributed/internal/storage/type" + "github.com/zilliztech/milvus-distributed/internal/msgclient" "log" "os" "strconv" diff --git a/test/insert_test.go b/test/insert_test.go index 8f6841683dfd1aeb609107ccbcf3c0873d2c352a..ee036bb8d23def1dc15a77c55182d570555cbe73 100644 --- a/test/insert_test.go +++ b/test/insert_test.go @@ -2,8 +2,8 @@ package test import ( "context" - msgpb "github.com/czs007/suvlim/internal/proto/message" - "github.com/czs007/suvlim/internal/writer" + msgpb "github.com/zilliztech/milvus-distributed/internal/proto/message" + "github.com/zilliztech/milvus-distributed/internal/writer" "sync" "testing" ) diff --git a/test/key2seg_test.go b/test/key2seg_test.go index c52877d8ae7ae78a563a7f4c169f28f959bcb9dd..3a48d2ba9ee4c11241bce75d6bb405f47f8adf95 100644 --- a/test/key2seg_test.go +++ b/test/key2seg_test.go @@ -3,7 +3,7 @@ package test import ( "context" "github.com/apache/pulsar-client-go/pulsar" - msgpb "github.com/czs007/suvlim/internal/proto/message" + msgpb "github.com/zilliztech/milvus-distributed/internal/proto/message" "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/assert" "log"