mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Update issue templates
Signed-off-by: GuoRentong <rentong.guo@zilliz.com>
This commit is contained in:
parent
6a136c1a76
commit
974496a2b2
44
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
44
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Please state your issue using the following template in English.**
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Steps/Code to reproduce behavior**
|
||||
Follow this [guide](http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) to craft a minimal bug report. This helps us reproduce the issue you're having and resolve the issue more quickly.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Method of installation**
|
||||
- [ ] Docker/cpu
|
||||
- [ ] Docker/gpu
|
||||
- [ ] Build from source
|
||||
|
||||
**Environment details**
|
||||
- Hardware/Softwars conditions (OS, CPU, GPU, Memory)
|
||||
|
||||
|
||||
- Milvus version (master or released version)
|
||||
|
||||
|
||||
**Configuration file**
|
||||
Settings you made in `server_config.yaml` or `milvus.yaml`
|
||||
|
||||
```yaml
|
||||
paste-file-content-here
|
||||
```
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
14
.github/ISSUE_TEMPLATE/enhancement-request.md
vendored
Normal file
14
.github/ISSUE_TEMPLATE/enhancement-request.md
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
name: Enhancement request
|
||||
about: Describe this issue template's purpose here.
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Please state your issue using the following template and, most importantly, in English.**
|
||||
|
||||
**What would you like to be added ?**
|
||||
|
||||
**Why is this needed ?**
|
22
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
22
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Please state your issue using the following template in English.**
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. E.g. I wish I could use Milvus to do [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context, code examples, or references to existing implementations about the feature request here.
|
@ -3,8 +3,8 @@ package main
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
"github.com/zilliztech/milvus-distributed/internal/master"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/master"
|
||||
)
|
||||
|
||||
// func main() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/zilliztech/milvus-distributed/internal/proxy"
|
||||
"github.com/czs007/suvlim/internal/proxy"
|
||||
"log"
|
||||
)
|
||||
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
"github.com/zilliztech/milvus-distributed/internal/reader"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/reader"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"crypto/md5"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/zilliztech/milvus-distributed/internal/storage"
|
||||
"github.com/zilliztech/milvus-distributed/internal/storage/type"
|
||||
"github.com/czs007/suvlim/internal/storage"
|
||||
"github.com/czs007/suvlim/internal/storage/type"
|
||||
"github.com/pivotal-golang/bytefmt"
|
||||
"log"
|
||||
"math/rand"
|
||||
|
@ -4,10 +4,10 @@ import (
|
||||
"context"
|
||||
"flag"
|
||||
"fmt"
|
||||
"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"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/storage"
|
||||
"github.com/czs007/suvlim/internal/msgclient"
|
||||
"github.com/czs007/suvlim/internal/writer"
|
||||
"log"
|
||||
"strconv"
|
||||
)
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/zilliztech/milvus-distributed
|
||||
module github.com/czs007/suvlim
|
||||
|
||||
go 1.15
|
||||
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"path"
|
||||
"runtime"
|
||||
|
||||
storagetype "github.com/zilliztech/milvus-distributed/internal/storage/type"
|
||||
storagetype "github.com/czs007/suvlim/internal/storage/type"
|
||||
yaml "gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
|
@ -151,9 +151,8 @@ 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\"\000B@Z>github.com/zilliztec"
|
||||
"h/milvus-distributed/internal/proto/mast"
|
||||
"erb\006proto3"
|
||||
"us.grpc.Status\"\000B0Z.github.com/czs007/su"
|
||||
"vlim/internal/proto/masterb\006proto3"
|
||||
;
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_master_2eproto_deps[1] = {
|
||||
&::descriptor_table_message_2eproto,
|
||||
@ -166,7 +165,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", 890,
|
||||
&descriptor_table_master_2eproto_initialized, descriptor_table_protodef_master_2eproto, "master.proto", 874,
|
||||
&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,
|
||||
|
@ -1698,9 +1698,8 @@ 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\"\000BAZ\?github.com/zillizte"
|
||||
"ch/milvus-distributed/internal/proto/mes"
|
||||
"sageb\006proto3"
|
||||
"rpc.QueryResult\"\000B1Z/github.com/czs007/s"
|
||||
"uvlim/internal/proto/messageb\006proto3"
|
||||
;
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_message_2eproto_deps[1] = {
|
||||
};
|
||||
@ -1757,7 +1756,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", 8692,
|
||||
&descriptor_table_message_2eproto_initialized, descriptor_table_protodef_message_2eproto, "message.proto", 8676,
|
||||
&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,
|
||||
|
@ -3,8 +3,8 @@ package collection
|
||||
import (
|
||||
"time"
|
||||
|
||||
masterpb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
messagepb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
masterpb "github.com/czs007/suvlim/internal/proto/master"
|
||||
messagepb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/gogo/protobuf/proto"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
)
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
messagepb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
messagepb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@ -5,12 +5,12 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"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"
|
||||
"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"
|
||||
)
|
||||
|
||||
func CollectionController(ch chan *messagepb.Mapping, kvbase kv.Base, errch chan error) {
|
||||
|
@ -5,12 +5,12 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"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"
|
||||
"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"
|
||||
)
|
||||
|
||||
func SegmentStatsController(kvbase kv.Base, errch chan error) {
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"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/czs007/suvlim/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/master/kv"
|
||||
"github.com/czs007/suvlim/internal/master/segment"
|
||||
"go.etcd.io/etcd/clientv3"
|
||||
)
|
||||
|
||||
|
@ -6,11 +6,11 @@ import (
|
||||
"net"
|
||||
"strconv"
|
||||
|
||||
"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"
|
||||
"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"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/rs/xid"
|
||||
|
||||
"github.com/zilliztech/milvus-distributed/internal/errors"
|
||||
"github.com/czs007/suvlim/internal/errors"
|
||||
)
|
||||
|
||||
type ID struct {
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"path"
|
||||
"time"
|
||||
|
||||
"github.com/zilliztech/milvus-distributed/internal/errors"
|
||||
"github.com/zilliztech/milvus-distributed/internal/util/etcdutil"
|
||||
"github.com/czs007/suvlim/internal/errors"
|
||||
"github.com/czs007/suvlim/internal/util/etcdutil"
|
||||
"github.com/pingcap/log"
|
||||
"go.etcd.io/etcd/clientv3"
|
||||
"go.uber.org/zap"
|
||||
|
@ -3,7 +3,7 @@ package segment
|
||||
import (
|
||||
"time"
|
||||
|
||||
masterpb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
masterpb "github.com/czs007/suvlim/internal/proto/master"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
)
|
||||
|
||||
|
@ -8,9 +8,9 @@ import (
|
||||
"log"
|
||||
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
masterpb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
"github.com/zilliztech/milvus-distributed/internal/master/informer"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
masterpb "github.com/czs007/suvlim/internal/proto/master"
|
||||
"github.com/czs007/suvlim/internal/master/informer"
|
||||
)
|
||||
|
||||
type SegmentStats struct {
|
||||
|
@ -5,11 +5,11 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"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"
|
||||
"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"
|
||||
|
||||
"go.etcd.io/etcd/clientv3"
|
||||
)
|
||||
|
@ -7,10 +7,10 @@ import (
|
||||
"strconv"
|
||||
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
"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/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/golang/protobuf/proto"
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package masterpb;
|
||||
|
||||
option go_package="github.com/zilliztech/milvus-distributed/internal/proto/master";
|
||||
option go_package="github.com/czs007/suvlim/internal/proto/master";
|
||||
|
||||
import "message.proto";
|
||||
|
||||
|
@ -6,7 +6,7 @@ package master
|
||||
import (
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
message "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
message "github.com/czs007/suvlim/internal/proto/message"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
grpc "google.golang.org/grpc"
|
||||
codes "google.golang.org/grpc/codes"
|
||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package milvus.grpc;
|
||||
|
||||
option go_package="github.com/zilliztech/milvus-distributed/internal/proto/message";
|
||||
option go_package="github.com/czs007/suvlim/internal/proto/message";
|
||||
|
||||
|
||||
enum ErrorCode {
|
||||
|
@ -2,7 +2,7 @@ package proxy
|
||||
|
||||
import (
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"log"
|
||||
"sync"
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
etcd "go.etcd.io/etcd/clientv3"
|
||||
"strconv"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"encoding/binary"
|
||||
"encoding/json"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
mpb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
mpb "github.com/czs007/suvlim/internal/proto/master"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/stretchr/testify/assert"
|
||||
etcd "go.etcd.io/etcd/clientv3"
|
||||
|
@ -3,7 +3,7 @@ package proxy
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"log"
|
||||
"sort"
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"log"
|
||||
"sort"
|
||||
|
@ -3,7 +3,7 @@ package proxy
|
||||
import (
|
||||
"context"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"log"
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
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"
|
||||
mpb "github.com/czs007/suvlim/internal/proto/master"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/czs007/suvlim/internal/master/collection"
|
||||
"github.com/golang/protobuf/proto"
|
||||
etcd "go.etcd.io/etcd/clientv3"
|
||||
"go.uber.org/atomic"
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"encoding/binary"
|
||||
"encoding/json"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
mpb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
mpb "github.com/czs007/suvlim/internal/proto/master"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go.etcd.io/etcd/clientv3"
|
||||
|
@ -3,7 +3,7 @@ package proxy
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
etcd "go.etcd.io/etcd/clientv3"
|
||||
"log"
|
||||
"strconv"
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"log"
|
||||
"time"
|
||||
|
@ -3,7 +3,7 @@ package proxy
|
||||
import (
|
||||
"context"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
|
@ -13,7 +13,7 @@ package reader
|
||||
*/
|
||||
import "C"
|
||||
import (
|
||||
msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
msgPb "github.com/czs007/suvlim/internal/proto/message"
|
||||
)
|
||||
|
||||
type IndexConfig struct{}
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
msgPb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"math"
|
||||
"testing"
|
||||
|
||||
|
@ -10,10 +10,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"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"
|
||||
"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"
|
||||
"go.etcd.io/etcd/clientv3"
|
||||
"go.etcd.io/etcd/mvcc/mvccpb"
|
||||
)
|
||||
|
@ -23,10 +23,10 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"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/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/stretchr/testify/assert"
|
||||
//"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package reader
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/zilliztech/milvus-distributed/internal/msgclient"
|
||||
"github.com/czs007/suvlim/internal/msgclient"
|
||||
"log"
|
||||
"sync"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package reader
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
"strconv"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -2,8 +2,8 @@ package reader
|
||||
|
||||
import (
|
||||
"context"
|
||||
masterPb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
masterPb "github.com/czs007/suvlim/internal/proto/master"
|
||||
msgPb "github.com/czs007/suvlim/internal/proto/message"
|
||||
)
|
||||
|
||||
type ResultEntityIds []int64
|
||||
|
@ -2,14 +2,14 @@ package reader
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
"github.com/zilliztech/milvus-distributed/internal/msgclient"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/msgclient"
|
||||
"strconv"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
masterPb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
masterPb "github.com/czs007/suvlim/internal/proto/master"
|
||||
msgPb "github.com/czs007/suvlim/internal/proto/message"
|
||||
)
|
||||
|
||||
// NOTE: start pulsar before test
|
||||
|
@ -14,8 +14,8 @@ package reader
|
||||
import "C"
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/zilliztech/milvus-distributed/internal/errors"
|
||||
msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
"github.com/czs007/suvlim/internal/errors"
|
||||
msgPb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"strconv"
|
||||
"unsafe"
|
||||
|
@ -2,8 +2,8 @@ package reader
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
masterPb "github.com/zilliztech/milvus-distributed/internal/proto/master"
|
||||
msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
masterPb "github.com/czs007/suvlim/internal/proto/master"
|
||||
msgPb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"log"
|
||||
"strconv"
|
||||
"time"
|
||||
|
@ -2,8 +2,8 @@ package reader
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
"github.com/zilliztech/milvus-distributed/internal/msgclient"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/msgclient"
|
||||
"strconv"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"math"
|
||||
"testing"
|
||||
|
||||
msgPb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
msgPb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@ -2,8 +2,8 @@ package reader
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
"github.com/zilliztech/milvus-distributed/internal/msgclient"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
"github.com/czs007/suvlim/internal/msgclient"
|
||||
"strconv"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -2,7 +2,7 @@ package S3_driver_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
s3_driver "github.com/zilliztech/milvus-distributed/internal/storage/internal/S3"
|
||||
s3_driver "github.com/czs007/suvlim/internal/storage/internal/S3"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
@ -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/zilliztech/milvus-distributed/internal/conf"
|
||||
. "github.com/zilliztech/milvus-distributed/internal/storage/type"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
. "github.com/czs007/suvlim/internal/storage/type"
|
||||
"io"
|
||||
)
|
||||
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/endpoints"
|
||||
"github.com/zilliztech/milvus-distributed/internal/storage/internal/minio/codec"
|
||||
. "github.com/zilliztech/milvus-distributed/internal/storage/type"
|
||||
"github.com/czs007/suvlim/internal/storage/internal/minio/codec"
|
||||
. "github.com/czs007/suvlim/internal/storage/type"
|
||||
)
|
||||
|
||||
type S3Driver struct {
|
||||
|
@ -2,9 +2,9 @@ package minio_driver
|
||||
|
||||
import (
|
||||
"context"
|
||||
"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/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/minio/minio-go/v7"
|
||||
"github.com/minio/minio-go/v7/pkg/credentials"
|
||||
)
|
||||
|
@ -3,8 +3,8 @@ package minio_driver
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
. "github.com/zilliztech/milvus-distributed/internal/storage/type"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
. "github.com/czs007/suvlim/internal/storage/type"
|
||||
"github.com/minio/minio-go/v7"
|
||||
"io"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package minio_driver_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
minio_driver "github.com/zilliztech/milvus-distributed/internal/storage/internal/minio"
|
||||
minio_driver "github.com/czs007/suvlim/internal/storage/internal/minio"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
@ -3,9 +3,9 @@ package tikv_driver
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"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/czs007/suvlim/internal/conf"
|
||||
. "github.com/czs007/suvlim/internal/storage/internal/tikv/codec"
|
||||
. "github.com/czs007/suvlim/internal/storage/type"
|
||||
"github.com/tikv/client-go/config"
|
||||
"github.com/tikv/client-go/rawkv"
|
||||
"strconv"
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"bytes"
|
||||
"context"
|
||||
"fmt"
|
||||
. "github.com/zilliztech/milvus-distributed/internal/storage/internal/tikv/codec"
|
||||
. "github.com/zilliztech/milvus-distributed/internal/storage/type"
|
||||
. "github.com/czs007/suvlim/internal/storage/internal/tikv/codec"
|
||||
. "github.com/czs007/suvlim/internal/storage/type"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"math"
|
||||
|
@ -3,10 +3,10 @@ package storage
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
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"
|
||||
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"
|
||||
)
|
||||
|
||||
func NewStore(ctx context.Context, driver storagetype.DriverType) (storagetype.Store, error) {
|
||||
|
@ -12,8 +12,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
"github.com/zilliztech/milvus-distributed/internal/conf"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
"github.com/czs007/suvlim/internal/conf"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
)
|
||||
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
pb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
pb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/golang/protobuf/proto"
|
||||
)
|
||||
|
||||
|
@ -19,7 +19,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/zilliztech/milvus-distributed/internal/errors"
|
||||
"github.com/czs007/suvlim/internal/errors"
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/pingcap/log"
|
||||
"go.etcd.io/etcd/clientv3"
|
||||
|
@ -5,11 +5,11 @@ import (
|
||||
"encoding/binary"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"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"
|
||||
"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"
|
||||
"log"
|
||||
"os"
|
||||
"strconv"
|
||||
|
@ -2,8 +2,8 @@ package test
|
||||
|
||||
import (
|
||||
"context"
|
||||
msgpb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
"github.com/zilliztech/milvus-distributed/internal/writer"
|
||||
msgpb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/czs007/suvlim/internal/writer"
|
||||
"sync"
|
||||
"testing"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package test
|
||||
import (
|
||||
"context"
|
||||
"github.com/apache/pulsar-client-go/pulsar"
|
||||
msgpb "github.com/zilliztech/milvus-distributed/internal/proto/message"
|
||||
msgpb "github.com/czs007/suvlim/internal/proto/message"
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"log"
|
||||
|
Loading…
Reference in New Issue
Block a user