Update issue templates

Signed-off-by: GuoRentong <rentong.guo@zilliz.com>
This commit is contained in:
GuoRentong 2020-10-19 17:45:56 +08:00 committed by yefu.chen
parent 6a136c1a76
commit 974496a2b2
67 changed files with 218 additions and 140 deletions

44
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View 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.

View 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 ?**

View 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.

View File

@ -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() {

View File

@ -1,7 +1,7 @@
package main
import (
"github.com/zilliztech/milvus-distributed/internal/proxy"
"github.com/czs007/suvlim/internal/proxy"
"log"
)

View File

@ -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"
)

View File

@ -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"

View File

@ -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
View File

@ -1,4 +1,4 @@
module github.com/zilliztech/milvus-distributed
module github.com/czs007/suvlim
go 1.15

View File

@ -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"
)

View File

@ -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,

View File

@ -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,

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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) {

View File

@ -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) {

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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 {

View File

@ -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"
)

View File

@ -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"

View File

@ -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"
)

View File

@ -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 {

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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";

View File

@ -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"

View File

@ -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 {

View File

@ -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"

View File

@ -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"
)

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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{}

View File

@ -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"

View File

@ -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"
)

View File

@ -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"
)

View File

@ -2,7 +2,7 @@ package reader
import (
"context"
"github.com/zilliztech/milvus-distributed/internal/msgclient"
"github.com/czs007/suvlim/internal/msgclient"
"log"
"sync"
)

View File

@ -2,7 +2,7 @@ package reader
import (
"context"
"github.com/zilliztech/milvus-distributed/internal/conf"
"github.com/czs007/suvlim/internal/conf"
"strconv"
"testing"
"time"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"
)

View File

@ -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"

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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 {

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"

View File

@ -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"

View File

@ -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) {

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"

View File

@ -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"

View File

@ -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"
)

View File

@ -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"