diff --git a/go.sum b/go.sum index a4b74932cb..9e7e45058e 100644 --- a/go.sum +++ b/go.sum @@ -44,7 +44,6 @@ github.com/apache/pulsar/pulsar-client-go v0.0.0-20200901051823-800681aaa9af h1: github.com/apache/pulsar/pulsar-client-go v0.0.0-20200901051823-800681aaa9af/go.mod h1:QdYxU2iG99VVU6cvoBRkCgkazfJSL9WwPZ20PZR6aUk= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= @@ -52,17 +51,11 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa v0.0.1 h1:r3ncXbtIiad9owWu22r8ryYogBEV9NbJykk8k6K+u0w= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa h1:OaNxuTZr7kxeODyLWsRMC+OD03aFUH+mW6r2d+MWa5Y= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/coreos/bbolt v1.3.2 h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.12+incompatible h1:pAWNwdf7QiT1zfaWyqCtNZQWCLByQyA3JrSQyuYAqnQ= github.com/coreos/etcd v3.3.12+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.25+incompatible h1:0GQEw6h3YnuOVdtwygkIfJ+Omx0tZ8/QkVyXI4LkbeY= github.com/coreos/etcd v3.3.25+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-semver v0.2.0 h1:3Jm3tLmsgAYcjC+4Up7hJrFBPr+n7rAqYeSw/SZazuY= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190212144455-93d5ec2c7f76 h1:FE783w8WFh+Rvg+7bZ5g8p7gP4SeVS4AoNwkvazlsBg= @@ -73,26 +66,18 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548/go.mod h1:e6NPNENfs9mPDVNRekM7lKScauxd5kXTr1Mfyig6TDM= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385 h1:clC1lXBpe2kTj2VHdaIu9ajZQe4kcEY9j0NsnDDBZ3o= github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZifjYj7uP3BG/gKcuzL9xWVV/Y+cK33KM= -github.com/envoyproxy/data-plane-api v0.0.0-20200831211337-0e9fae47599b h1:3i9GfD1fHIhNAr4aiJn7ndTkdtTtJjRh2C5glHI/D3g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -107,11 +92,9 @@ github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef h1:veQD95Isof8w9/WXiA+pa3tz3fJXkt5B7QaRBrM62gk= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= @@ -135,19 +118,15 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= @@ -161,194 +140,125 @@ github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.7.0 h1:tOSd0UKHQd6urX6ApfOn4XdBMY6Sh1MfxV3kmaazO+U= github.com/gorilla/mux v1.7.0/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 h1:Iju5GlWwrvL6UBg4zJJt3btmonfrMlCDdsejg4CZE7c= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4 h1:z53tR0945TRRQO/fLEVPI6SMv7ZflF0TEaTAoU7tOzg= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.8.1 h1:VNUuLKyFcJ5IektwBKcZU4J5GJKEt+Odb8dl1d61BGQ= github.com/grpc-ecosystem/grpc-gateway v1.8.1/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.5 h1:UImYN5qQ8tuGpGE16ZmjvcTtTw24zw1QAp/SlnNrZhI= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/klauspost/cpuid v1.3.1 h1:5JNjFYYQrZeKRJ0734q51WCEEn2huer72Dc7K+R/b6s= github.com/klauspost/cpuid v1.3.1/go.mod h1:bYW4mA6ZgKPob1/Dlai2LviZJO7KGI3uoWLd42rAQw4= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/linkedin/goavro v2.1.0+incompatible h1:DV2aUlj2xZiuxQyvag8Dy7zjY69ENjS66bWkSfdpddY= github.com/linkedin/goavro v2.1.0+incompatible/go.mod h1:bBCwI2eGYpUI/4820s67MElg9tdeLbINjLjiM2xZFYM= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/minio/md5-simd v1.1.0 h1:QPfiOqlZH+Cj9teu0t9b1nTBfPbyTl16Of5MeuShdK4= github.com/minio/md5-simd v1.1.0/go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw= -github.com/minio/minio-go v1.0.0 h1:ooSujki+Z1PRGZsYffJw5jnF5eMBvzMVV86TLAlM0UM= -github.com/minio/minio-go v6.0.14+incompatible h1:fnV+GD28LeqdN6vT2XdGKW8Qe/IfjJDswNVuni6km9o= -github.com/minio/minio-go/v7 v7.0.5 h1:I2NIJ2ojwJqD/YByemC1M59e1b4FW9kS7NlOar7HPV4= github.com/minio/minio-go/v7 v7.0.5/go.mod h1:TA0CQCjJZHM5SJj9IjqR0NmpmQJ6bCbXifAJ3mUU6Hw= -github.com/minio/sha256-simd v0.1.1 h1:5QHSlgo3nt5yKOJrC7W8w7X+NFl8cMPZm96iu8kKUJU= github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/montanaflynn/stats v0.5.0 h1:2EkzeTSqBB4V4bJwWrt5gIIrZmpJBcoIRGS2kWLgzmk= github.com/montanaflynn/stats v0.5.0/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/pingcap/check v0.0.0-20190102082844-67f458068fc8/go.mod h1:B1+S9LNcuMyLH/4HMTViQOJevkGiik3wW2AN9zb2fNQ= github.com/pingcap/check v0.0.0-20200212061837-5e12011dc712 h1:R8gStypOBmpnHEx1qi//SaqxJVI4inOqljg/Aj5/390= github.com/pingcap/check v0.0.0-20200212061837-5e12011dc712/go.mod h1:PYMCGwN0JHjoqGr3HrZoD+b8Tgx8bKnArhSq8YVzUMc= github.com/pingcap/errors v0.11.0/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= -github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= -github.com/pingcap/gofail v0.0.0-20181217135706-6a951c1e42c3 h1:04yuCf5NMvLU8rB2m4Qs3rynH7EYpMno3lHkewIOdMo= github.com/pingcap/gofail v0.0.0-20181217135706-6a951c1e42c3/go.mod h1:DazNTg0PTldtpsQiT9I5tVJwV1onHMKBBgXzmJUlMns= -github.com/pingcap/goleveldb v0.0.0-20171020122428-b9ff6c35079e h1:P73/4dPCL96rGrobssy1nVy2VaVpNCuLpCbr+FEaTA8= github.com/pingcap/goleveldb v0.0.0-20171020122428-b9ff6c35079e/go.mod h1:O17XtbryoCJhkKGbT62+L2OlrniwqiGLSqrmdHCMzZw= -github.com/pingcap/kvproto v0.0.0-20190305055742-ab7debc182d9 h1:EsTt42btov+tFchxOFKnxBNmXOWyPKiddOwvr/WO90g= github.com/pingcap/kvproto v0.0.0-20190305055742-ab7debc182d9/go.mod h1:QMdbTAXCHzzygQzqcG9uVUgU2fKeSN1GmfMiykdSzzY= github.com/pingcap/log v0.0.0-20191012051959-b742a5d432e9/go.mod h1:4rbK1p9ILyIfb6hU7OG2CiWSqMXnp3JMbiaVJ6mvoY8= github.com/pingcap/log v0.0.0-20200828042413-fce0951f1463 h1:Jboj+s4jSCp5E1WDgmRUv5rIFKFHaaSWuSZ4wMwXIcc= github.com/pingcap/log v0.0.0-20200828042413-fce0951f1463/go.mod h1:4rbK1p9ILyIfb6hU7OG2CiWSqMXnp3JMbiaVJ6mvoY8= -github.com/pingcap/pd v2.1.5+incompatible h1:vOLV2tSQdRjjmxaTXtJULoC94dYQOd+6fzn2yChODHc= github.com/pingcap/pd v2.1.5+incompatible/go.mod h1:nD3+EoYes4+aNNODO99ES59V83MZSI+dFbhyr667a0E= -github.com/pivotal-golang/bytefmt v0.0.0-20200131002437-cf55d5288a48 h1:2JCf+JCLBs7IUZzYdIrSDN+GWYacKOdToIAt5zcga54= github.com/pivotal-golang/bytefmt v0.0.0-20200131002437-cf55d5288a48/go.mod h1:43j3yLP9UiXa0z95/W3hN7yTjoxsQoOll5rrGBgBcnE= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.2 h1:awm861/B8OKDd2I/6o1dy3ra4BamzKhYOiGItCeZ740= github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= -github.com/prometheus/client_golang v1.0.0 h1:vrDKnkGzuGvhNAL56c7DBz29ZL+KxnoR0x7enabFceM= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181126121408-4724e9255275 h1:PnBWHBf+6L0jOqq0gIVUe6Yk0/QMZ640k6NvkxcBf+8= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.1 h1:K0MGApIoQvMw27RTdJkPbr3JZ7DNbtxQNyi5STVM6Kw= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a h1:9a8MnZMP0X2nLJdBg+pBmGgkJlSaKC2KaQmTCk1XDtE= github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.2 h1:6LJUbpNm42llc4HRCuvApCSWB/WfhuNo9K98Q9sNGfs= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/protocolbuffers/protobuf v3.13.0+incompatible h1:omZA3Tuq+U2kJ2uMuqMR9c1VO5qLEgZ19m9878fXNtg= github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rs/xid v1.2.1 h1:mhH9Nq+C1fY2l1XIpgxIiUOfNpRBYH1kKcr+qfKgjRc= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.3.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a h1:pa8hGb/2YqsZKovtsgrwcDH1RZhVbTKCjLp47XpqCDs= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/pflag v1.0.1 h1:aCvUg6QPl3ibpQUxyLkrEkCHtPqYJL4x9AuhqVqFis4= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tikv/client-go v0.0.0-20200824032810-95774393107b h1:VOG2GkM7RpRrT0St7HIIwCWrc3mVdf+DjcT8r2ucusI= github.com/tikv/client-go v0.0.0-20200824032810-95774393107b/go.mod h1:K0NcdVNrXDq92YPLytsrAwRMyuXi7GZCO6dXNH7OzQc= -github.com/tikv/pd v1.1.0-beta h1:Ke5jqQ7P1zS9ZbbEW1ZPFmMTQPTzrQEMsCumjVkRh1Y= -github.com/tikv/pd v2.1.19+incompatible h1:rqjHqO7t/STke/R2Yz6+lQj6NPA8u7G2Otwqup4K+P8= github.com/tikv/pd v2.1.19+incompatible/go.mod h1:v6C/D7ONC49SgjI4jbGnooSizvijaO/bdIm62DVR4tI= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/ugorji/go v1.1.2 h1:JON3E2/GPW2iDNGoSAusl1KDf5TRQ8k8q7Tp097pZGs= github.com/ugorji/go v1.1.2/go.mod h1:hnLbHMwcvSihnDhEfx2/BzKp2xb0Y+ErdfYcrs9tkJQ= -github.com/ugorji/go/codec v0.0.0-20190204201341-e444a5086c43 h1:BasDe+IErOQKrMVXab7UayvSlIpiyGwRvuX3EKYY7UA= github.com/ugorji/go/codec v0.0.0-20190204201341-e444a5086c43/go.mod h1:iT03XoTwV7xq/+UGwKO3UbC1nNNlopQiY61beSdrtOA= -github.com/unrolled/render v1.0.0 h1:XYtvhA3UkpB7PqkvhUFYmpKD55OudoIeygcfus4vcd4= github.com/unrolled/render v1.0.0/go.mod h1:tu82oB5W2ykJRVioYsB+IQKcft7ryBr7w12qMBUPyXg= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.etcd.io/bbolt v1.3.2 h1:Z/90sZLPOeCy2PwprqkFa25PdkusRzaj9P8zm/KNyvk= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/etcd v0.5.0-alpha.5 h1:VOolFSo3XgsmnYDLozjvZ6JL6AAwIDu1Yx1y+4EYLDo= go.etcd.io/etcd v0.5.0-alpha.5.0.20191023171146-3cf2f69b5738 h1:lWF4f9Nypl1ZqSb4gLeh/DGvBYVaUYHuiB93teOmwgc= -go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/etcd v0.5.0-alpha.5 h1:VOolFSo3XgsmnYDLozjvZ6JL6AAwIDu1Yx1y+4EYLDo= go.etcd.io/etcd v0.5.0-alpha.5.0.20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= -go.etcd.io/etcd v3.3.25+incompatible h1:V1RzkZJj9LqsJRy+TUBgpWSbZXITLB819lstuTFoZOY= -go.etcd.io/etcd v3.3.25+incompatible/go.mod h1:yaeTdrJi5lOmYerz05bd8+V7KubZs8YSFZfzsF9A6aI= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -363,7 +273,6 @@ go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+ go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0 h1:KCa4XfM8CWFCpxXRGok+Q0SS/0XBhMDbHHGABQLvD2A= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= @@ -376,7 +285,6 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 h1:DZhuSZLsGlFL4CmhA8BcRA0mnthyA/nZ00AqCUo7vHg= golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -396,11 +304,9 @@ golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b h1:Wh+f8QHJXR411sJR8/vRBTZ7YapZaRvUcLFFJhusH0k= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= @@ -409,7 +315,6 @@ golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -442,7 +347,6 @@ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -487,7 +391,6 @@ golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae h1:Ih9Yo4hSPImZOpfGuA4bR/ORKTAbhZo2AbWNRCnevdo= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642 h1:B6caxRw+hozq68X2MY7jEpZh/cr4/aHLv9xU8Kkadrw= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -495,13 +398,10 @@ golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fq golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c h1:fqgJT0MGcGpPgpWU7VRdRjuArfcOvC4AoJmILihzhDg= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -523,7 +423,6 @@ golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191107010934-f79515f33823 h1:akkRBeitX2EZP59KdtKw310CI4WGPCNPyrLbE7WZA8Y= golang.org/x/tools v0.0.0-20191107010934-f79515f33823/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -549,13 +448,10 @@ golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200806022845-90696ccdc692 h1:fsn47thVa7Ar/TMyXYlZgOoT7M4+kRpb+KpSAqRQx1w= golang.org/x/tools v0.0.0-20200806022845-90696ccdc692/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= @@ -586,7 +482,6 @@ google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRn google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= @@ -609,7 +504,6 @@ google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEY google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200806141610-86f49bd18e98 h1:LCO0fg4kb6WwkXQXRQQgUYsFeFb5taTX5WAx5O/Vt28= google.golang.org/genproto v0.0.0-20200806141610-86f49bd18e98/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v0.0.0-20180607172857-7a6a684ca69e/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -627,7 +521,6 @@ google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.1 h1:SfXqXS5hkufcdZ/mHtYCh53P2b+92WQq/DZcKLgsFRs= google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc/examples v0.0.0-20200828165940-d8ef479ab79a h1:7iRJyssym7732TmOPsstcu7CtG53rDKSiL+yhxbN+5Y= google.golang.org/grpc/examples v0.0.0-20200828165940-d8ef479ab79a/go.mod h1:Lh55/1hxmVHEkOvSIQ2uj0P12QyOCUNyRwnUlSS13hw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -635,7 +528,6 @@ google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQ google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= @@ -643,40 +535,30 @@ google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4 google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/ini.v1 v1.57.0 h1:9unxIsFcTt4I55uWluz+UmL95q4kdJ0buvQ1ZIqVQww= gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/linkedin/goavro.v1 v1.0.5 h1:BJa69CDh0awSsLUmZ9+BowBdokpduDZSM9Zk8oKHfN4= gopkg.in/linkedin/goavro.v1 v1.0.5/go.mod h1:Aw5GdAbizjOEl0kAMHV9iHmA8reZzW/OKuJAl4Hb9F0= gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/master/config/util.go b/master/config/util.go index a68770d28d..11fdbf8a18 100644 --- a/master/config/util.go +++ b/master/config/util.go @@ -16,7 +16,6 @@ package config import ( "net/url" "regexp" - "github.com/czs007/suvlim/errors" ) diff --git a/master/kv/etcd_kv.go b/master/kv/etcd_kv.go index e4a9ecf1a9..7cfa5bf78f 100644 --- a/master/kv/etcd_kv.go +++ b/master/kv/etcd_kv.go @@ -16,12 +16,9 @@ package kv import ( "context" "path" - - //"strings" "time" - "github.com/czs007/suvlim/util/etcdutil" - "github.com/pingcap/errors" + "github.com/czs007/suvlim/errors" "github.com/pingcap/log" "go.etcd.io/etcd/clientv3" "go.uber.org/zap" diff --git a/proxy/src/grpc/cpp_gen.sh b/proxy/src/grpc/cpp_gen.sh index 740e784269..cc4f07760f 100755 --- a/proxy/src/grpc/cpp_gen.sh +++ b/proxy/src/grpc/cpp_gen.sh @@ -4,18 +4,18 @@ ../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --cpp_out=./gen-status status.proto -../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --grpc_out=./gen-milvus --plugin=protoc-gen-grpc="../../cmake-build-debug/thirdparty/grpc/grpc-build/grpc_cpp_plugin" milvus.proto - -../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --cpp_out=./gen-milvus milvus.proto - - -../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --grpc_out=./gen-milvus --plugin=protoc-gen-grpc="../../cmake-build-debug/thirdparty/grpc/grpc-build/grpc_cpp_plugin" hello.proto - -../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --cpp_out=./gen-milvus hello.proto - -../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --grpc_out=./gen-milvus --plugin=protoc-gen-grpc="../../cmake-build-debug/thirdparty/grpc/grpc-build/grpc_cpp_plugin" master.proto - -../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --cpp_out=./gen-milvus master.proto +#../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --grpc_out=./gen-milvus --plugin=protoc-gen-grpc="../../cmake-build-debug/thirdparty/grpc/grpc-build/grpc_cpp_plugin" milvus.proto +# +#../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --cpp_out=./gen-milvus milvus.proto +# +# +#../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --grpc_out=./gen-milvus --plugin=protoc-gen-grpc="../../cmake-build-debug/thirdparty/grpc/grpc-build/grpc_cpp_plugin" hello.proto +# +#../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --cpp_out=./gen-milvus hello.proto +# +#../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --grpc_out=./gen-milvus --plugin=protoc-gen-grpc="../../cmake-build-debug/thirdparty/grpc/grpc-build/grpc_cpp_plugin" master.proto +# +#../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --cpp_out=./gen-milvus master.proto # TODO: spilt milvus and pulsar proto ../../cmake-build-debug/thirdparty/grpc/grpc-build/third_party/protobuf/protoc -I . --grpc_out=./gen-milvus --plugin=protoc-gen-grpc="../../cmake-build-debug/thirdparty/grpc/grpc-build/grpc_cpp_plugin" suvlim.proto diff --git a/proxy/src/grpc/gen-milvus/suvlim.pb.cc b/proxy/src/grpc/gen-milvus/suvlim.pb.cc index f3911d8e76..c3ec6810d4 100644 --- a/proxy/src/grpc/gen-milvus/suvlim.pb.cc +++ b/proxy/src/grpc/gen-milvus/suvlim.pb.cc @@ -19,7 +19,6 @@ extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CompareExpr_suvlim_2eproto; extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_Entities_suvlim_2eproto; extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_FieldMeta_suvlim_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FieldParam_suvlim_2eproto; extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KeyValuePair_suvlim_2eproto; extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_Mapping_suvlim_2eproto; extern PROTOBUF_INTERNAL_EXPORT_suvlim_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_RangeQuery_suvlim_2eproto; @@ -608,7 +607,7 @@ static void InitDefaultsscc_info_Mapping_suvlim_2eproto() { ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_Mapping_suvlim_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsscc_info_Mapping_suvlim_2eproto}, { &scc_info_Status_status_2eproto.base, - &scc_info_FieldParam_suvlim_2eproto.base, + &scc_info_Schema_suvlim_2eproto.base, &scc_info_KeyValuePair_suvlim_2eproto.base,}}; static void InitDefaultsscc_info_MappingList_suvlim_2eproto() { @@ -929,7 +928,7 @@ static void InitDefaultsscc_info_VectorRowRecord_suvlim_2eproto() { {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_VectorRowRecord_suvlim_2eproto}, {}}; static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_suvlim_2eproto[47]; -static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_suvlim_2eproto[4]; +static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_suvlim_2eproto[5]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_suvlim_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_suvlim_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -967,7 +966,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_suvlim_2eproto::offsets[] PROT ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::milvus::grpc::Mapping, status_), PROTOBUF_FIELD_OFFSET(::milvus::grpc::Mapping, collection_name_), - PROTOBUF_FIELD_OFFSET(::milvus::grpc::Mapping, fields_), + PROTOBUF_FIELD_OFFSET(::milvus::grpc::Mapping, schema_), PROTOBUF_FIELD_OFFSET(::milvus::grpc::Mapping, extra_params_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::grpc::MappingList, _internal_metadata_), @@ -1289,9 +1288,9 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_suvlim_2eproto::offsets[] PROT ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::milvus::grpc::TimeSyncMsg, clientid_), + PROTOBUF_FIELD_OFFSET(::milvus::grpc::TimeSyncMsg, peer_id_), PROTOBUF_FIELD_OFFSET(::milvus::grpc::TimeSyncMsg, timestamp_), - PROTOBUF_FIELD_OFFSET(::milvus::grpc::TimeSyncMsg, msgtype_), + PROTOBUF_FIELD_OFFSET(::milvus::grpc::TimeSyncMsg, sync_type_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::grpc::SegmentRecord, _internal_metadata_), ~0u, // no _extensions_ @@ -1306,7 +1305,6 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_suvlim_2eproto::offsets[] PROT ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::milvus::grpc::Key2SegMsg, client_id_), PROTOBUF_FIELD_OFFSET(::milvus::grpc::Key2SegMsg, records_), - PROTOBUF_FIELD_OFFSET(::milvus::grpc::Key2SegMsg, msg_type_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::milvus::grpc::KeyValuePair)}, @@ -1415,176 +1413,175 @@ const char descriptor_table_protodef_suvlim_2eproto[] PROTOBUF_SECTION_VARIABLE( "me\030\001 \001(\t\"S\n\022CollectionNameList\022#\n\006status" "\030\001 \001(\0132\023.milvus.grpc.Status\022\030\n\020collectio" "n_names\030\002 \003(\t\"8\n\tFieldName\022\027\n\017collection" - "_name\030\001 \001(\t\022\022\n\nfield_name\030\002 \001(\t\"\241\001\n\007Mapp" + "_name\030\001 \001(\t\022\022\n\nfield_name\030\002 \001(\t\"\235\001\n\007Mapp" "ing\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Status" - "\022\027\n\017collection_name\030\002 \001(\t\022\'\n\006fields\030\003 \003(" - "\0132\027.milvus.grpc.FieldParam\022/\n\014extra_para" - "ms\030\004 \003(\0132\031.milvus.grpc.KeyValuePair\"^\n\013M" - "appingList\022#\n\006status\030\001 \001(\0132\023.milvus.grpc" - ".Status\022*\n\014mapping_list\030\002 \003(\0132\024.milvus.g" - "rpc.Mapping\"6\n\016PartitionParam\022\027\n\017collect" - "ion_name\030\001 \001(\t\022\013\n\003tag\030\002 \001(\t\"Q\n\rPartition" - "List\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Statu" - "s\022\033\n\023partition_tag_array\030\002 \003(\t\":\n\017Vector" - "RowRecord\022\022\n\nfloat_data\030\001 \003(\002\022\023\n\013binary_" - "data\030\002 \001(\014\"I\n\tEntityIds\022#\n\006status\030\001 \001(\0132" - "\023.milvus.grpc.Status\022\027\n\017entity_id_array\030" - "\002 \003(\003\"=\n\014VectorRecord\022-\n\007records\030\001 \003(\0132\034" - ".milvus.grpc.VectorRowRecord\"J\n\013VectorPa" - "ram\022\014\n\004json\030\001 \001(\t\022-\n\nrow_record\030\002 \001(\0132\031." - "milvus.grpc.VectorRecord\"Q\n\tFieldMeta\022\022\n" - "\nfield_name\030\001 \001(\t\022#\n\004type\030\002 \001(\0162\025.milvus" - ".grpc.DataType\022\013\n\003dim\030\003 \001(\003\"5\n\006Schema\022+\n" - "\013field_metas\030\001 \003(\0132\026.milvus.grpc.FieldMe" - "ta\"\027\n\007RowData\022\014\n\004blob\030\001 \001(\014\"\325\001\n\013InsertPa" - "ram\022\027\n\017collection_name\030\001 \001(\t\022#\n\006schema\030\002" - " \001(\0132\023.milvus.grpc.Schema\022\'\n\trows_data\030\003" - " \003(\0132\024.milvus.grpc.RowData\022\027\n\017entity_id_" - "array\030\004 \003(\003\022\025\n\rpartition_tag\030\005 \001(\t\022/\n\014ex" - "tra_params\030\006 \003(\0132\031.milvus.grpc.KeyValueP" - "air\"\253\001\n\013SearchParam\022\027\n\017collection_name\030\001" - " \001(\t\022.\n\014vector_param\030\002 \003(\0132\030.milvus.grpc" - ".VectorParam\022\013\n\003dsl\030\003 \001(\t\022\025\n\rpartition_t" - "ag\030\004 \003(\t\022/\n\014extra_params\030\005 \003(\0132\031.milvus." - "grpc.KeyValuePair\"]\n\024SearchInSegmentPara" - "m\022\025\n\rfile_id_array\030\001 \003(\t\022.\n\014search_param" - "\030\002 \001(\0132\030.milvus.grpc.SearchParam\"x\n\010Enti" - "ties\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Statu" - "s\022\013\n\003ids\030\002 \003(\003\022\021\n\tvalid_row\030\003 \003(\010\022\'\n\trow" - "s_data\030\004 \003(\0132\024.milvus.grpc.RowData\"\300\001\n\013Q" - "ueryResult\022#\n\006status\030\001 \001(\0132\023.milvus.grpc" - ".Status\022\'\n\010entities\030\002 \001(\0132\025.milvus.grpc." - "Entities\022\017\n\007row_num\030\003 \001(\003\022\016\n\006scores\030\004 \003(" - "\002\022\021\n\tdistances\030\005 \003(\002\022/\n\014extra_params\030\006 \003" - "(\0132\031.milvus.grpc.KeyValuePair\"H\n\013StringR" - "eply\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Statu" - "s\022\024\n\014string_reply\030\002 \001(\t\"D\n\tBoolReply\022#\n\006" - "status\030\001 \001(\0132\023.milvus.grpc.Status\022\022\n\nboo" - "l_reply\030\002 \001(\010\"W\n\022CollectionRowCount\022#\n\006s" - "tatus\030\001 \001(\0132\023.milvus.grpc.Status\022\034\n\024coll" - "ection_row_count\030\002 \001(\003\"\026\n\007Command\022\013\n\003cmd" - "\030\001 \001(\t\"\243\001\n\nIndexParam\022#\n\006status\030\001 \001(\0132\023." - "milvus.grpc.Status\022\027\n\017collection_name\030\002 " - "\001(\t\022\022\n\nfield_name\030\003 \001(\t\022\022\n\nindex_name\030\004 " - "\001(\t\022/\n\014extra_params\030\005 \003(\0132\031.milvus.grpc." - "KeyValuePair\"+\n\nFlushParam\022\035\n\025collection" - "_name_array\030\001 \003(\t\":\n\014CompactParam\022\027\n\017col" - "lection_name\030\001 \001(\t\022\021\n\tthreshold\030\002 \001(\001\"<\n" - "\017DeleteByIDParam\022\027\n\017collection_name\030\001 \001(" - "\t\022\020\n\010id_array\030\002 \003(\003\"H\n\016CollectionInfo\022#\n" - "\006status\030\001 \001(\0132\023.milvus.grpc.Status\022\021\n\tjs" - "on_info\030\002 \001(\t\"@\n\021GetEntityIDsParam\022\027\n\017co" - "llection_name\030\001 \001(\t\022\022\n\nsegment_id\030\002 \001(\003\"" - "P\n\016EntityIdentity\022\027\n\017collection_name\030\001 \001" - "(\t\022\020\n\010id_array\030\002 \003(\003\022\023\n\013field_names\030\003 \003(" - "\t\"%\n\020VectorFieldParam\022\021\n\tdimension\030\001 \001(\003" - "\"w\n\tFieldType\022*\n\tdata_type\030\001 \001(\0162\025.milvu" - "s.grpc.DataTypeH\000\0225\n\014vector_param\030\002 \001(\0132" - "\035.milvus.grpc.VectorFieldParamH\000B\007\n\005valu" - "e\"\255\001\n\nFieldParam\022\n\n\002id\030\001 \001(\004\022\014\n\004name\030\002 \001" - "(\t\022#\n\004type\030\003 \001(\0162\025.milvus.grpc.DataType\022" - "/\n\014index_params\030\004 \003(\0132\031.milvus.grpc.KeyV" - "aluePair\022/\n\014extra_params\030\005 \003(\0132\031.milvus." - "grpc.KeyValuePair\"@\n\021VectorFieldRecord\022+" - "\n\005value\030\001 \003(\0132\034.milvus.grpc.VectorRowRec" - "ord\"\233\001\n\tTermQuery\022\022\n\nfield_name\030\001 \001(\t\022\021\n" - "\tint_value\030\002 \003(\003\022\024\n\014double_value\030\003 \003(\001\022\021" - "\n\tvalue_num\030\004 \001(\003\022\r\n\005boost\030\005 \001(\002\022/\n\014extr" - "a_params\030\006 \003(\0132\031.milvus.grpc.KeyValuePai" - "r\"N\n\013CompareExpr\022.\n\010operator\030\001 \001(\0162\034.mil" - "vus.grpc.CompareOperator\022\017\n\007operand\030\002 \001(" - "\t\"\213\001\n\nRangeQuery\022\022\n\nfield_name\030\001 \001(\t\022)\n\007" - "operand\030\002 \003(\0132\030.milvus.grpc.CompareExpr\022" - "\r\n\005boost\030\003 \001(\002\022/\n\014extra_params\030\004 \003(\0132\031.m" - "ilvus.grpc.KeyValuePair\"\244\001\n\013VectorQuery\022" - "\022\n\nfield_name\030\001 \001(\t\022\023\n\013query_boost\030\002 \001(\002" - "\022-\n\007records\030\003 \003(\0132\034.milvus.grpc.VectorRo" - "wRecord\022\014\n\004topk\030\004 \001(\003\022/\n\014extra_params\030\005 " - "\003(\0132\031.milvus.grpc.KeyValuePair\"c\n\014Boolea" - "nQuery\022!\n\005occur\030\001 \001(\0162\022.milvus.grpc.Occu" - "r\0220\n\rgeneral_query\030\002 \003(\0132\031.milvus.grpc.G" - "eneralQuery\"\333\001\n\014GeneralQuery\0222\n\rboolean_" - "query\030\001 \001(\0132\031.milvus.grpc.BooleanQueryH\000" - "\022,\n\nterm_query\030\002 \001(\0132\026.milvus.grpc.TermQ" - "ueryH\000\022.\n\013range_query\030\003 \001(\0132\027.milvus.grp" - "c.RangeQueryH\000\0220\n\014vector_query\030\004 \001(\0132\030.m" - "ilvus.grpc.VectorQueryH\000B\007\n\005query\"\250\001\n\rSe" - "archParamPB\022\027\n\017collection_name\030\001 \001(\t\022\033\n\023" - "partition_tag_array\030\002 \003(\t\0220\n\rgeneral_que" - "ry\030\003 \001(\0132\031.milvus.grpc.GeneralQuery\022/\n\014e" - "xtra_params\030\004 \003(\0132\031.milvus.grpc.KeyValue" - "Pair\"\231\002\n\021InsertOrDeleteMsg\022\027\n\017collection" - "_name\030\001 \001(\t\022\'\n\trows_data\030\002 \001(\0132\024.milvus." - "grpc.RowData\022\013\n\003uid\030\003 \001(\003\022\025\n\rpartition_t" - "ag\030\004 \001(\t\022\021\n\ttimestamp\030\005 \001(\003\022\022\n\nsegment_i" - "d\030\006 \001(\003\022\022\n\nchannel_id\030\007 \001(\003\022\037\n\002op\030\010 \001(\0162" - "\023.milvus.grpc.OpType\022\021\n\tclient_id\030\t \001(\003\022" - "/\n\014extra_params\030\n \003(\0132\031.milvus.grpc.KeyV" - "aluePair\"\316\001\n\tSearchMsg\022\027\n\017collection_nam" - "e\030\001 \001(\t\022-\n\007records\030\002 \001(\0132\034.milvus.grpc.V" - "ectorRowRecord\022\025\n\rpartition_tag\030\003 \001(\t\022\013\n" - "\003uid\030\004 \001(\003\022\021\n\ttimestamp\030\005 \001(\003\022\021\n\tclient_" - "id\030\006 \001(\003\022/\n\014extra_params\030\007 \003(\0132\031.milvus." - "grpc.KeyValuePair\"X\n\013TimeSyncMsg\022\020\n\010Clie" - "ntId\030\001 \001(\003\022\021\n\tTimestamp\030\002 \001(\003\022$\n\007MsgType" - "\030\003 \001(\0162\023.milvus.grpc.OpType\"0\n\rSegmentRe" - "cord\022\013\n\003uid\030\001 \001(\003\022\022\n\nsegment_id\030\002 \003(\003\"s\n" - "\nKey2SegMsg\022\021\n\tclient_id\030\001 \001(\003\022+\n\007record" - "s\030\002 \001(\0132\032.milvus.grpc.SegmentRecord\022%\n\010m" - "sg_type\030\003 \001(\0162\023.milvus.grpc.OpType*\221\001\n\010D" + "\022\027\n\017collection_name\030\002 \001(\t\022#\n\006schema\030\003 \001(" + "\0132\023.milvus.grpc.Schema\022/\n\014extra_params\030\004" + " \003(\0132\031.milvus.grpc.KeyValuePair\"^\n\013Mappi" + "ngList\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Sta" + "tus\022*\n\014mapping_list\030\002 \003(\0132\024.milvus.grpc." + "Mapping\"6\n\016PartitionParam\022\027\n\017collection_" + "name\030\001 \001(\t\022\013\n\003tag\030\002 \001(\t\"Q\n\rPartitionList" + "\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Status\022\033\n" + "\023partition_tag_array\030\002 \003(\t\":\n\017VectorRowR" + "ecord\022\022\n\nfloat_data\030\001 \003(\002\022\023\n\013binary_data" + "\030\002 \001(\014\"I\n\tEntityIds\022#\n\006status\030\001 \001(\0132\023.mi" + "lvus.grpc.Status\022\027\n\017entity_id_array\030\002 \003(" + "\003\"=\n\014VectorRecord\022-\n\007records\030\001 \003(\0132\034.mil" + "vus.grpc.VectorRowRecord\"J\n\013VectorParam\022" + "\014\n\004json\030\001 \001(\t\022-\n\nrow_record\030\002 \001(\0132\031.milv" + "us.grpc.VectorRecord\"Q\n\tFieldMeta\022\022\n\nfie" + "ld_name\030\001 \001(\t\022#\n\004type\030\002 \001(\0162\025.milvus.grp" + "c.DataType\022\013\n\003dim\030\003 \001(\003\"5\n\006Schema\022+\n\013fie" + "ld_metas\030\001 \003(\0132\026.milvus.grpc.FieldMeta\"\027" + "\n\007RowData\022\014\n\004blob\030\001 \001(\014\"\325\001\n\013InsertParam\022" + "\027\n\017collection_name\030\001 \001(\t\022#\n\006schema\030\002 \001(\013" + "2\023.milvus.grpc.Schema\022\'\n\trows_data\030\003 \003(\013" + "2\024.milvus.grpc.RowData\022\027\n\017entity_id_arra" + "y\030\004 \003(\003\022\025\n\rpartition_tag\030\005 \001(\t\022/\n\014extra_" + "params\030\006 \003(\0132\031.milvus.grpc.KeyValuePair\"" + "\253\001\n\013SearchParam\022\027\n\017collection_name\030\001 \001(\t" + "\022.\n\014vector_param\030\002 \003(\0132\030.milvus.grpc.Vec" + "torParam\022\013\n\003dsl\030\003 \001(\t\022\025\n\rpartition_tag\030\004" + " \003(\t\022/\n\014extra_params\030\005 \003(\0132\031.milvus.grpc" + ".KeyValuePair\"]\n\024SearchInSegmentParam\022\025\n" + "\rfile_id_array\030\001 \003(\t\022.\n\014search_param\030\002 \001" + "(\0132\030.milvus.grpc.SearchParam\"x\n\010Entities" + "\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Status\022\013\n" + "\003ids\030\002 \003(\003\022\021\n\tvalid_row\030\003 \003(\010\022\'\n\trows_da" + "ta\030\004 \003(\0132\024.milvus.grpc.RowData\"\300\001\n\013Query" + "Result\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Sta" + "tus\022\'\n\010entities\030\002 \001(\0132\025.milvus.grpc.Enti" + "ties\022\017\n\007row_num\030\003 \001(\003\022\016\n\006scores\030\004 \003(\002\022\021\n" + "\tdistances\030\005 \003(\002\022/\n\014extra_params\030\006 \003(\0132\031" + ".milvus.grpc.KeyValuePair\"H\n\013StringReply" + "\022#\n\006status\030\001 \001(\0132\023.milvus.grpc.Status\022\024\n" + "\014string_reply\030\002 \001(\t\"D\n\tBoolReply\022#\n\006stat" + "us\030\001 \001(\0132\023.milvus.grpc.Status\022\022\n\nbool_re" + "ply\030\002 \001(\010\"W\n\022CollectionRowCount\022#\n\006statu" + "s\030\001 \001(\0132\023.milvus.grpc.Status\022\034\n\024collecti" + "on_row_count\030\002 \001(\003\"\026\n\007Command\022\013\n\003cmd\030\001 \001" + "(\t\"\243\001\n\nIndexParam\022#\n\006status\030\001 \001(\0132\023.milv" + "us.grpc.Status\022\027\n\017collection_name\030\002 \001(\t\022" + "\022\n\nfield_name\030\003 \001(\t\022\022\n\nindex_name\030\004 \001(\t\022" + "/\n\014extra_params\030\005 \003(\0132\031.milvus.grpc.KeyV" + "aluePair\"+\n\nFlushParam\022\035\n\025collection_nam" + "e_array\030\001 \003(\t\":\n\014CompactParam\022\027\n\017collect" + "ion_name\030\001 \001(\t\022\021\n\tthreshold\030\002 \001(\001\"<\n\017Del" + "eteByIDParam\022\027\n\017collection_name\030\001 \001(\t\022\020\n" + "\010id_array\030\002 \003(\003\"H\n\016CollectionInfo\022#\n\006sta" + "tus\030\001 \001(\0132\023.milvus.grpc.Status\022\021\n\tjson_i" + "nfo\030\002 \001(\t\"@\n\021GetEntityIDsParam\022\027\n\017collec" + "tion_name\030\001 \001(\t\022\022\n\nsegment_id\030\002 \001(\003\"P\n\016E" + "ntityIdentity\022\027\n\017collection_name\030\001 \001(\t\022\020" + "\n\010id_array\030\002 \003(\003\022\023\n\013field_names\030\003 \003(\t\"%\n" + "\020VectorFieldParam\022\021\n\tdimension\030\001 \001(\003\"w\n\t" + "FieldType\022*\n\tdata_type\030\001 \001(\0162\025.milvus.gr" + "pc.DataTypeH\000\0225\n\014vector_param\030\002 \001(\0132\035.mi" + "lvus.grpc.VectorFieldParamH\000B\007\n\005value\"\255\001" + "\n\nFieldParam\022\n\n\002id\030\001 \001(\004\022\014\n\004name\030\002 \001(\t\022#" + "\n\004type\030\003 \001(\0162\025.milvus.grpc.DataType\022/\n\014i" + "ndex_params\030\004 \003(\0132\031.milvus.grpc.KeyValue" + "Pair\022/\n\014extra_params\030\005 \003(\0132\031.milvus.grpc" + ".KeyValuePair\"@\n\021VectorFieldRecord\022+\n\005va" + "lue\030\001 \003(\0132\034.milvus.grpc.VectorRowRecord\"" + "\233\001\n\tTermQuery\022\022\n\nfield_name\030\001 \001(\t\022\021\n\tint" + "_value\030\002 \003(\003\022\024\n\014double_value\030\003 \003(\001\022\021\n\tva" + "lue_num\030\004 \001(\003\022\r\n\005boost\030\005 \001(\002\022/\n\014extra_pa" + "rams\030\006 \003(\0132\031.milvus.grpc.KeyValuePair\"N\n" + "\013CompareExpr\022.\n\010operator\030\001 \001(\0162\034.milvus." + "grpc.CompareOperator\022\017\n\007operand\030\002 \001(\t\"\213\001" + "\n\nRangeQuery\022\022\n\nfield_name\030\001 \001(\t\022)\n\007oper" + "and\030\002 \003(\0132\030.milvus.grpc.CompareExpr\022\r\n\005b" + "oost\030\003 \001(\002\022/\n\014extra_params\030\004 \003(\0132\031.milvu" + "s.grpc.KeyValuePair\"\244\001\n\013VectorQuery\022\022\n\nf" + "ield_name\030\001 \001(\t\022\023\n\013query_boost\030\002 \001(\002\022-\n\007" + "records\030\003 \003(\0132\034.milvus.grpc.VectorRowRec" + "ord\022\014\n\004topk\030\004 \001(\003\022/\n\014extra_params\030\005 \003(\0132" + "\031.milvus.grpc.KeyValuePair\"c\n\014BooleanQue" + "ry\022!\n\005occur\030\001 \001(\0162\022.milvus.grpc.Occur\0220\n" + "\rgeneral_query\030\002 \003(\0132\031.milvus.grpc.Gener" + "alQuery\"\333\001\n\014GeneralQuery\0222\n\rboolean_quer" + "y\030\001 \001(\0132\031.milvus.grpc.BooleanQueryH\000\022,\n\n" + "term_query\030\002 \001(\0132\026.milvus.grpc.TermQuery" + "H\000\022.\n\013range_query\030\003 \001(\0132\027.milvus.grpc.Ra" + "ngeQueryH\000\0220\n\014vector_query\030\004 \001(\0132\030.milvu" + "s.grpc.VectorQueryH\000B\007\n\005query\"\250\001\n\rSearch" + "ParamPB\022\027\n\017collection_name\030\001 \001(\t\022\033\n\023part" + "ition_tag_array\030\002 \003(\t\0220\n\rgeneral_query\030\003" + " \001(\0132\031.milvus.grpc.GeneralQuery\022/\n\014extra" + "_params\030\004 \003(\0132\031.milvus.grpc.KeyValuePair" + "\"\231\002\n\021InsertOrDeleteMsg\022\027\n\017collection_nam" + "e\030\001 \001(\t\022\'\n\trows_data\030\002 \001(\0132\024.milvus.grpc" + ".RowData\022\013\n\003uid\030\003 \001(\003\022\025\n\rpartition_tag\030\004" + " \001(\t\022\021\n\ttimestamp\030\005 \001(\003\022\022\n\nsegment_id\030\006 " + "\001(\003\022\022\n\nchannel_id\030\007 \001(\003\022\037\n\002op\030\010 \001(\0162\023.mi" + "lvus.grpc.OpType\022\021\n\tclient_id\030\t \001(\003\022/\n\014e" + "xtra_params\030\n \003(\0132\031.milvus.grpc.KeyValue" + "Pair\"\316\001\n\tSearchMsg\022\027\n\017collection_name\030\001 " + "\001(\t\022-\n\007records\030\002 \001(\0132\034.milvus.grpc.Vecto" + "rRowRecord\022\025\n\rpartition_tag\030\003 \001(\t\022\013\n\003uid" + "\030\004 \001(\003\022\021\n\ttimestamp\030\005 \001(\003\022\021\n\tclient_id\030\006" + " \001(\003\022/\n\014extra_params\030\007 \003(\0132\031.milvus.grpc" + ".KeyValuePair\"[\n\013TimeSyncMsg\022\017\n\007peer_Id\030" + "\001 \001(\003\022\021\n\tTimestamp\030\002 \001(\003\022(\n\tsync_type\030\003 " + "\001(\0162\025.milvus.grpc.SyncType\"0\n\rSegmentRec" + "ord\022\013\n\003uid\030\001 \001(\003\022\022\n\nsegment_id\030\002 \003(\003\"L\n\n" + "Key2SegMsg\022\021\n\tclient_id\030\001 \001(\003\022+\n\007records" + "\030\002 \001(\0132\032.milvus.grpc.SegmentRecord*\221\001\n\010D" "ataType\022\010\n\004NONE\020\000\022\010\n\004BOOL\020\001\022\010\n\004INT8\020\002\022\t\n" "\005INT16\020\003\022\t\n\005INT32\020\004\022\t\n\005INT64\020\005\022\t\n\005FLOAT\020" "\n\022\n\n\006DOUBLE\020\013\022\n\n\006STRING\020\024\022\021\n\rVECTOR_BINA" "RY\020d\022\020\n\014VECTOR_FLOAT\020e*C\n\017CompareOperato" "r\022\006\n\002LT\020\000\022\007\n\003LTE\020\001\022\006\n\002EQ\020\002\022\006\n\002GT\020\003\022\007\n\003GT" "E\020\004\022\006\n\002NE\020\005*8\n\005Occur\022\013\n\007INVALID\020\000\022\010\n\004MUS" - "T\020\001\022\n\n\006SHOULD\020\002\022\014\n\010MUST_NOT\020\003*\?\n\006OpType\022" - "\n\n\006INSERT\020\000\022\n\n\006DELETE\020\001\022\n\n\006SEARCH\020\002\022\021\n\rS" - "EARCH_RESULT\020\0032\333\r\n\rMilvusService\022\?\n\020Crea" - "teCollection\022\024.milvus.grpc.Mapping\032\023.mil" - "vus.grpc.Status\"\000\022F\n\rHasCollection\022\033.mil" - "vus.grpc.CollectionName\032\026.milvus.grpc.Bo" - "olReply\"\000\022I\n\022DescribeCollection\022\033.milvus" - ".grpc.CollectionName\032\024.milvus.grpc.Mappi" - "ng\"\000\022Q\n\017CountCollection\022\033.milvus.grpc.Co" - "llectionName\032\037.milvus.grpc.CollectionRow" - "Count\"\000\022J\n\017ShowCollections\022\024.milvus.grpc" - ".Command\032\037.milvus.grpc.CollectionNameLis" - "t\"\000\022P\n\022ShowCollectionInfo\022\033.milvus.grpc." - "CollectionName\032\033.milvus.grpc.CollectionI" - "nfo\"\000\022D\n\016DropCollection\022\033.milvus.grpc.Co" - "llectionName\032\023.milvus.grpc.Status\"\000\022=\n\013C" - "reateIndex\022\027.milvus.grpc.IndexParam\032\023.mi" - "lvus.grpc.Status\"\000\022C\n\rDescribeIndex\022\027.mi" - "lvus.grpc.IndexParam\032\027.milvus.grpc.Index" - "Param\"\000\022;\n\tDropIndex\022\027.milvus.grpc.Index" - "Param\032\023.milvus.grpc.Status\"\000\022E\n\017CreatePa" - "rtition\022\033.milvus.grpc.PartitionParam\032\023.m" - "ilvus.grpc.Status\"\000\022E\n\014HasPartition\022\033.mi" - "lvus.grpc.PartitionParam\032\026.milvus.grpc.B" - "oolReply\"\000\022K\n\016ShowPartitions\022\033.milvus.gr" - "pc.CollectionName\032\032.milvus.grpc.Partitio" - "nList\"\000\022C\n\rDropPartition\022\033.milvus.grpc.P" - "artitionParam\032\023.milvus.grpc.Status\"\000\022<\n\006" - "Insert\022\030.milvus.grpc.InsertParam\032\026.milvu" - "s.grpc.EntityIds\"\000\022E\n\rGetEntityByID\022\033.mi" - "lvus.grpc.EntityIdentity\032\025.milvus.grpc.E" - "ntities\"\000\022H\n\014GetEntityIDs\022\036.milvus.grpc." - "GetEntityIDsParam\032\026.milvus.grpc.EntityId" - "s\"\000\022>\n\006Search\022\030.milvus.grpc.SearchParam\032" - "\030.milvus.grpc.QueryResult\"\000\022P\n\017SearchInS" - "egment\022!.milvus.grpc.SearchInSegmentPara" - "m\032\030.milvus.grpc.QueryResult\"\000\0227\n\003Cmd\022\024.m" - "ilvus.grpc.Command\032\030.milvus.grpc.StringR" - "eply\"\000\022A\n\nDeleteByID\022\034.milvus.grpc.Delet" - "eByIDParam\032\023.milvus.grpc.Status\"\000\022G\n\021Pre" - "loadCollection\022\033.milvus.grpc.CollectionN" - "ame\032\023.milvus.grpc.Status\"\000\0227\n\005Flush\022\027.mi" - "lvus.grpc.FlushParam\032\023.milvus.grpc.Statu" - "s\"\000\022;\n\007Compact\022\031.milvus.grpc.CompactPara" - "m\032\023.milvus.grpc.Status\"\000\022B\n\010SearchPB\022\032.m" - "ilvus.grpc.SearchParamPB\032\030.milvus.grpc.Q" - "ueryResult\"\000b\006proto3" + "T\020\001\022\n\n\006SHOULD\020\002\022\014\n\010MUST_NOT\020\003* \n\006OpType\022" + "\n\n\006INSERT\020\000\022\n\n\006DELETE\020\001*\037\n\010SyncType\022\010\n\004R" + "EAD\020\000\022\t\n\005WRITE\020\0012\333\r\n\rMilvusService\022\?\n\020Cr" + "eateCollection\022\024.milvus.grpc.Mapping\032\023.m" + "ilvus.grpc.Status\"\000\022F\n\rHasCollection\022\033.m" + "ilvus.grpc.CollectionName\032\026.milvus.grpc." + "BoolReply\"\000\022I\n\022DescribeCollection\022\033.milv" + "us.grpc.CollectionName\032\024.milvus.grpc.Map" + "ping\"\000\022Q\n\017CountCollection\022\033.milvus.grpc." + "CollectionName\032\037.milvus.grpc.CollectionR" + "owCount\"\000\022J\n\017ShowCollections\022\024.milvus.gr" + "pc.Command\032\037.milvus.grpc.CollectionNameL" + "ist\"\000\022P\n\022ShowCollectionInfo\022\033.milvus.grp" + "c.CollectionName\032\033.milvus.grpc.Collectio" + "nInfo\"\000\022D\n\016DropCollection\022\033.milvus.grpc." + "CollectionName\032\023.milvus.grpc.Status\"\000\022=\n" + "\013CreateIndex\022\027.milvus.grpc.IndexParam\032\023." + "milvus.grpc.Status\"\000\022C\n\rDescribeIndex\022\027." + "milvus.grpc.IndexParam\032\027.milvus.grpc.Ind" + "exParam\"\000\022;\n\tDropIndex\022\027.milvus.grpc.Ind" + "exParam\032\023.milvus.grpc.Status\"\000\022E\n\017Create" + "Partition\022\033.milvus.grpc.PartitionParam\032\023" + ".milvus.grpc.Status\"\000\022E\n\014HasPartition\022\033." + "milvus.grpc.PartitionParam\032\026.milvus.grpc" + ".BoolReply\"\000\022K\n\016ShowPartitions\022\033.milvus." + "grpc.CollectionName\032\032.milvus.grpc.Partit" + "ionList\"\000\022C\n\rDropPartition\022\033.milvus.grpc" + ".PartitionParam\032\023.milvus.grpc.Status\"\000\022<" + "\n\006Insert\022\030.milvus.grpc.InsertParam\032\026.mil" + "vus.grpc.EntityIds\"\000\022E\n\rGetEntityByID\022\033." + "milvus.grpc.EntityIdentity\032\025.milvus.grpc" + ".Entities\"\000\022H\n\014GetEntityIDs\022\036.milvus.grp" + "c.GetEntityIDsParam\032\026.milvus.grpc.Entity" + "Ids\"\000\022>\n\006Search\022\030.milvus.grpc.SearchPara" + "m\032\030.milvus.grpc.QueryResult\"\000\022P\n\017SearchI" + "nSegment\022!.milvus.grpc.SearchInSegmentPa" + "ram\032\030.milvus.grpc.QueryResult\"\000\0227\n\003Cmd\022\024" + ".milvus.grpc.Command\032\030.milvus.grpc.Strin" + "gReply\"\000\022A\n\nDeleteByID\022\034.milvus.grpc.Del" + "eteByIDParam\032\023.milvus.grpc.Status\"\000\022G\n\021P" + "reloadCollection\022\033.milvus.grpc.Collectio" + "nName\032\023.milvus.grpc.Status\"\000\0227\n\005Flush\022\027." + "milvus.grpc.FlushParam\032\023.milvus.grpc.Sta" + "tus\"\000\022;\n\007Compact\022\031.milvus.grpc.CompactPa" + "ram\032\023.milvus.grpc.Status\"\000\022B\n\010SearchPB\022\032" + ".milvus.grpc.SearchParamPB\032\030.milvus.grpc" + ".QueryResult\"\000b\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_suvlim_2eproto_deps[1] = { &::descriptor_table_status_2eproto, @@ -1640,7 +1637,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_suv static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_suvlim_2eproto_once; static bool descriptor_table_suvlim_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_suvlim_2eproto = { - &descriptor_table_suvlim_2eproto_initialized, descriptor_table_protodef_suvlim_2eproto, "suvlim.proto", 7020, + &descriptor_table_suvlim_2eproto_initialized, descriptor_table_protodef_suvlim_2eproto, "suvlim.proto", 6982, &descriptor_table_suvlim_2eproto_once, descriptor_table_suvlim_2eproto_sccs, descriptor_table_suvlim_2eproto_deps, 46, 1, schemas, file_default_instances, TableStruct_suvlim_2eproto::offsets, file_level_metadata_suvlim_2eproto, 47, file_level_enum_descriptors_suvlim_2eproto, file_level_service_descriptors_suvlim_2eproto, @@ -1715,8 +1712,20 @@ bool OpType_IsValid(int value) { switch (value) { case 0: case 1: - case 2: - case 3: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SyncType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_suvlim_2eproto); + return file_level_enum_descriptors_suvlim_2eproto[4]; +} +bool SyncType_IsValid(int value) { + switch (value) { + case 0: + case 1: return true; default: return false; @@ -2994,16 +3003,23 @@ void FieldName::InternalSwap(FieldName* other) { void Mapping::InitAsDefaultInstance() { ::milvus::grpc::_Mapping_default_instance_._instance.get_mutable()->status_ = const_cast< ::milvus::grpc::Status*>( ::milvus::grpc::Status::internal_default_instance()); + ::milvus::grpc::_Mapping_default_instance_._instance.get_mutable()->schema_ = const_cast< ::milvus::grpc::Schema*>( + ::milvus::grpc::Schema::internal_default_instance()); } class Mapping::_Internal { public: static const ::milvus::grpc::Status& status(const Mapping* msg); + static const ::milvus::grpc::Schema& schema(const Mapping* msg); }; const ::milvus::grpc::Status& Mapping::_Internal::status(const Mapping* msg) { return *msg->status_; } +const ::milvus::grpc::Schema& +Mapping::_Internal::schema(const Mapping* msg) { + return *msg->schema_; +} void Mapping::clear_status() { if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { delete status_; @@ -3018,7 +3034,6 @@ Mapping::Mapping() Mapping::Mapping(const Mapping& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), - fields_(from.fields_), extra_params_(from.extra_params_) { _internal_metadata_.MergeFrom(from._internal_metadata_); collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -3030,13 +3045,20 @@ Mapping::Mapping(const Mapping& from) } else { status_ = nullptr; } + if (from.has_schema()) { + schema_ = new ::milvus::grpc::Schema(*from.schema_); + } else { + schema_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:milvus.grpc.Mapping) } void Mapping::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Mapping_suvlim_2eproto.base); collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - status_ = nullptr; + ::memset(&status_, 0, static_cast( + reinterpret_cast(&schema_) - + reinterpret_cast(&status_)) + sizeof(schema_)); } Mapping::~Mapping() { @@ -3047,6 +3069,7 @@ Mapping::~Mapping() { void Mapping::SharedDtor() { collection_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete status_; + if (this != internal_default_instance()) delete schema_; } void Mapping::SetCachedSize(int size) const { @@ -3064,13 +3087,16 @@ void Mapping::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fields_.Clear(); extra_params_.Clear(); collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { delete status_; } status_ = nullptr; + if (GetArenaNoVirtual() == nullptr && schema_ != nullptr) { + delete schema_; + } + schema_ = nullptr; _internal_metadata_.Clear(); } @@ -3096,16 +3122,11 @@ const char* Mapping::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in CHK_(ptr); } else goto handle_unusual; continue; - // repeated .milvus.grpc.FieldParam fields = 3; + // .milvus.grpc.Schema schema = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(add_fields(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 26); + ptr = ctx->ParseMessage(mutable_schema(), ptr); + CHK_(ptr); } else goto handle_unusual; continue; // repeated .milvus.grpc.KeyValuePair extra_params = 4; @@ -3176,11 +3197,11 @@ bool Mapping::MergePartialFromCodedStream( break; } - // repeated .milvus.grpc.FieldParam fields = 3; + // .milvus.grpc.Schema schema = 3; case 3: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, add_fields())); + input, mutable_schema())); } else { goto handle_unusual; } @@ -3241,13 +3262,10 @@ void Mapping::SerializeWithCachedSizes( 2, this->collection_name(), output); } - // repeated .milvus.grpc.FieldParam fields = 3; - for (unsigned int i = 0, - n = static_cast(this->fields_size()); i < n; i++) { + // .milvus.grpc.Schema schema = 3; + if (this->has_schema()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->fields(static_cast(i)), - output); + 3, _Internal::schema(this), output); } // repeated .milvus.grpc.KeyValuePair extra_params = 4; @@ -3290,12 +3308,11 @@ void Mapping::SerializeWithCachedSizes( 2, this->collection_name(), target); } - // repeated .milvus.grpc.FieldParam fields = 3; - for (unsigned int i = 0, - n = static_cast(this->fields_size()); i < n; i++) { + // .milvus.grpc.Schema schema = 3; + if (this->has_schema()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray( - 3, this->fields(static_cast(i)), target); + 3, _Internal::schema(this), target); } // repeated .milvus.grpc.KeyValuePair extra_params = 4; @@ -3327,17 +3344,6 @@ size_t Mapping::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .milvus.grpc.FieldParam fields = 3; - { - unsigned int count = static_cast(this->fields_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - this->fields(static_cast(i))); - } - } - // repeated .milvus.grpc.KeyValuePair extra_params = 4; { unsigned int count = static_cast(this->extra_params_size()); @@ -3363,6 +3369,13 @@ size_t Mapping::ByteSizeLong() const { *status_); } + // .milvus.grpc.Schema schema = 3; + if (this->has_schema()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *schema_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -3390,7 +3403,6 @@ void Mapping::MergeFrom(const Mapping& from) { ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; - fields_.MergeFrom(from.fields_); extra_params_.MergeFrom(from.extra_params_); if (from.collection_name().size() > 0) { @@ -3399,6 +3411,9 @@ void Mapping::MergeFrom(const Mapping& from) { if (from.has_status()) { mutable_status()->::milvus::grpc::Status::MergeFrom(from.status()); } + if (from.has_schema()) { + mutable_schema()->::milvus::grpc::Schema::MergeFrom(from.schema()); + } } void Mapping::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { @@ -3422,11 +3437,11 @@ bool Mapping::IsInitialized() const { void Mapping::InternalSwap(Mapping* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&fields_)->InternalSwap(CastToBase(&other->fields_)); CastToBase(&extra_params_)->InternalSwap(CastToBase(&other->extra_params_)); collection_name_.Swap(&other->collection_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(status_, other->status_); + swap(schema_, other->schema_); } ::PROTOBUF_NAMESPACE_ID::Metadata Mapping::GetMetadata() const { @@ -18377,16 +18392,16 @@ TimeSyncMsg::TimeSyncMsg(const TimeSyncMsg& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&clientid_, &from.clientid_, - static_cast(reinterpret_cast(&msgtype_) - - reinterpret_cast(&clientid_)) + sizeof(msgtype_)); + ::memcpy(&peer_id_, &from.peer_id_, + static_cast(reinterpret_cast(&sync_type_) - + reinterpret_cast(&peer_id_)) + sizeof(sync_type_)); // @@protoc_insertion_point(copy_constructor:milvus.grpc.TimeSyncMsg) } void TimeSyncMsg::SharedCtor() { - ::memset(&clientid_, 0, static_cast( - reinterpret_cast(&msgtype_) - - reinterpret_cast(&clientid_)) + sizeof(msgtype_)); + ::memset(&peer_id_, 0, static_cast( + reinterpret_cast(&sync_type_) - + reinterpret_cast(&peer_id_)) + sizeof(sync_type_)); } TimeSyncMsg::~TimeSyncMsg() { @@ -18412,9 +18427,9 @@ void TimeSyncMsg::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - ::memset(&clientid_, 0, static_cast( - reinterpret_cast(&msgtype_) - - reinterpret_cast(&clientid_)) + sizeof(msgtype_)); + ::memset(&peer_id_, 0, static_cast( + reinterpret_cast(&sync_type_) - + reinterpret_cast(&peer_id_)) + sizeof(sync_type_)); _internal_metadata_.Clear(); } @@ -18426,10 +18441,10 @@ const char* TimeSyncMsg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { - // int64 ClientId = 1; + // int64 peer_Id = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - clientid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + peer_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -18440,12 +18455,12 @@ const char* TimeSyncMsg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID CHK_(ptr); } else goto handle_unusual; continue; - // .milvus.grpc.OpType MsgType = 3; + // .milvus.grpc.SyncType sync_type = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); - set_msgtype(static_cast<::milvus::grpc::OpType>(val)); + set_sync_type(static_cast<::milvus::grpc::SyncType>(val)); } else goto handle_unusual; continue; default: { @@ -18478,13 +18493,13 @@ bool TimeSyncMsg::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // int64 ClientId = 1; + // int64 peer_Id = 1; case 1: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (8 & 0xFF)) { DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( - input, &clientid_))); + input, &peer_id_))); } else { goto handle_unusual; } @@ -18504,14 +18519,14 @@ bool TimeSyncMsg::MergePartialFromCodedStream( break; } - // .milvus.grpc.OpType MsgType = 3; + // .milvus.grpc.SyncType sync_type = 3; case 3: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (24 & 0xFF)) { int value = 0; DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - set_msgtype(static_cast< ::milvus::grpc::OpType >(value)); + set_sync_type(static_cast< ::milvus::grpc::SyncType >(value)); } else { goto handle_unusual; } @@ -18545,9 +18560,9 @@ void TimeSyncMsg::SerializeWithCachedSizes( ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; - // int64 ClientId = 1; - if (this->clientid() != 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(1, this->clientid(), output); + // int64 peer_Id = 1; + if (this->peer_id() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(1, this->peer_id(), output); } // int64 Timestamp = 2; @@ -18555,10 +18570,10 @@ void TimeSyncMsg::SerializeWithCachedSizes( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(2, this->timestamp(), output); } - // .milvus.grpc.OpType MsgType = 3; - if (this->msgtype() != 0) { + // .milvus.grpc.SyncType sync_type = 3; + if (this->sync_type() != 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum( - 3, this->msgtype(), output); + 3, this->sync_type(), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -18574,9 +18589,9 @@ void TimeSyncMsg::SerializeWithCachedSizes( ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; - // int64 ClientId = 1; - if (this->clientid() != 0) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->clientid(), target); + // int64 peer_Id = 1; + if (this->peer_id() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->peer_id(), target); } // int64 Timestamp = 2; @@ -18584,10 +18599,10 @@ void TimeSyncMsg::SerializeWithCachedSizes( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->timestamp(), target); } - // .milvus.grpc.OpType MsgType = 3; - if (this->msgtype() != 0) { + // .milvus.grpc.SyncType sync_type = 3; + if (this->sync_type() != 0) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 3, this->msgtype(), target); + 3, this->sync_type(), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -18611,11 +18626,11 @@ size_t TimeSyncMsg::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // int64 ClientId = 1; - if (this->clientid() != 0) { + // int64 peer_Id = 1; + if (this->peer_id() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->clientid()); + this->peer_id()); } // int64 Timestamp = 2; @@ -18625,10 +18640,10 @@ size_t TimeSyncMsg::ByteSizeLong() const { this->timestamp()); } - // .milvus.grpc.OpType MsgType = 3; - if (this->msgtype() != 0) { + // .milvus.grpc.SyncType sync_type = 3; + if (this->sync_type() != 0) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->msgtype()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->sync_type()); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); @@ -18658,14 +18673,14 @@ void TimeSyncMsg::MergeFrom(const TimeSyncMsg& from) { ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; - if (from.clientid() != 0) { - set_clientid(from.clientid()); + if (from.peer_id() != 0) { + set_peer_id(from.peer_id()); } if (from.timestamp() != 0) { set_timestamp(from.timestamp()); } - if (from.msgtype() != 0) { - set_msgtype(from.msgtype()); + if (from.sync_type() != 0) { + set_sync_type(from.sync_type()); } } @@ -18690,9 +18705,9 @@ bool TimeSyncMsg::IsInitialized() const { void TimeSyncMsg::InternalSwap(TimeSyncMsg* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); - swap(clientid_, other->clientid_); + swap(peer_id_, other->peer_id_); swap(timestamp_, other->timestamp_); - swap(msgtype_, other->msgtype_); + swap(sync_type_, other->sync_type_); } ::PROTOBUF_NAMESPACE_ID::Metadata TimeSyncMsg::GetMetadata() const { @@ -19047,17 +19062,15 @@ Key2SegMsg::Key2SegMsg(const Key2SegMsg& from) } else { records_ = nullptr; } - ::memcpy(&client_id_, &from.client_id_, - static_cast(reinterpret_cast(&msg_type_) - - reinterpret_cast(&client_id_)) + sizeof(msg_type_)); + client_id_ = from.client_id_; // @@protoc_insertion_point(copy_constructor:milvus.grpc.Key2SegMsg) } void Key2SegMsg::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Key2SegMsg_suvlim_2eproto.base); ::memset(&records_, 0, static_cast( - reinterpret_cast(&msg_type_) - - reinterpret_cast(&records_)) + sizeof(msg_type_)); + reinterpret_cast(&client_id_) - + reinterpret_cast(&records_)) + sizeof(client_id_)); } Key2SegMsg::~Key2SegMsg() { @@ -19088,9 +19101,7 @@ void Key2SegMsg::Clear() { delete records_; } records_ = nullptr; - ::memset(&client_id_, 0, static_cast( - reinterpret_cast(&msg_type_) - - reinterpret_cast(&client_id_)) + sizeof(msg_type_)); + client_id_ = PROTOBUF_LONGLONG(0); _internal_metadata_.Clear(); } @@ -19116,14 +19127,6 @@ const char* Key2SegMsg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID: CHK_(ptr); } else goto handle_unusual; continue; - // .milvus.grpc.OpType msg_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - set_msg_type(static_cast<::milvus::grpc::OpType>(val)); - } else goto handle_unusual; - continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -19178,20 +19181,6 @@ bool Key2SegMsg::MergePartialFromCodedStream( break; } - // .milvus.grpc.OpType msg_type = 3; - case 3: { - if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< - int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_msg_type(static_cast< ::milvus::grpc::OpType >(value)); - } else { - goto handle_unusual; - } - break; - } - default: { handle_unusual: if (tag == 0) { @@ -19230,12 +19219,6 @@ void Key2SegMsg::SerializeWithCachedSizes( 2, _Internal::records(this), output); } - // .milvus.grpc.OpType msg_type = 3; - if (this->msg_type() != 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum( - 3, this->msg_type(), output); - } - if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -19261,12 +19244,6 @@ void Key2SegMsg::SerializeWithCachedSizes( 2, _Internal::records(this), target); } - // .milvus.grpc.OpType msg_type = 3; - if (this->msg_type() != 0) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 3, this->msg_type(), target); - } - if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -19302,12 +19279,6 @@ size_t Key2SegMsg::ByteSizeLong() const { this->client_id()); } - // .milvus.grpc.OpType msg_type = 3; - if (this->msg_type() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->msg_type()); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -19341,9 +19312,6 @@ void Key2SegMsg::MergeFrom(const Key2SegMsg& from) { if (from.client_id() != 0) { set_client_id(from.client_id()); } - if (from.msg_type() != 0) { - set_msg_type(from.msg_type()); - } } void Key2SegMsg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { @@ -19369,7 +19337,6 @@ void Key2SegMsg::InternalSwap(Key2SegMsg* other) { _internal_metadata_.Swap(&other->_internal_metadata_); swap(records_, other->records_); swap(client_id_, other->client_id_); - swap(msg_type_, other->msg_type_); } ::PROTOBUF_NAMESPACE_ID::Metadata Key2SegMsg::GetMetadata() const { diff --git a/proxy/src/grpc/gen-milvus/suvlim.pb.h b/proxy/src/grpc/gen-milvus/suvlim.pb.h index edc1ae6534..2e6ff383f3 100644 --- a/proxy/src/grpc/gen-milvus/suvlim.pb.h +++ b/proxy/src/grpc/gen-milvus/suvlim.pb.h @@ -346,14 +346,12 @@ inline bool Occur_Parse( enum OpType : int { INSERT = 0, DELETE = 1, - SEARCH = 2, - SEARCH_RESULT = 3, OpType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), OpType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() }; bool OpType_IsValid(int value); constexpr OpType OpType_MIN = INSERT; -constexpr OpType OpType_MAX = SEARCH_RESULT; +constexpr OpType OpType_MAX = DELETE; constexpr int OpType_ARRAYSIZE = OpType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OpType_descriptor(); @@ -370,6 +368,31 @@ inline bool OpType_Parse( return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( OpType_descriptor(), name, value); } +enum SyncType : int { + READ = 0, + WRITE = 1, + SyncType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), + SyncType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() +}; +bool SyncType_IsValid(int value); +constexpr SyncType SyncType_MIN = READ; +constexpr SyncType SyncType_MAX = WRITE; +constexpr int SyncType_ARRAYSIZE = SyncType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SyncType_descriptor(); +template +inline const std::string& SyncType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function SyncType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + SyncType_descriptor(), enum_t_value); +} +inline bool SyncType_Parse( + const std::string& name, SyncType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + SyncType_descriptor(), name, value); +} // =================================================================== class KeyValuePair : @@ -1075,22 +1098,11 @@ class Mapping : // accessors ------------------------------------------------------- enum : int { - kFieldsFieldNumber = 3, kExtraParamsFieldNumber = 4, kCollectionNameFieldNumber = 2, kStatusFieldNumber = 1, + kSchemaFieldNumber = 3, }; - // repeated .milvus.grpc.FieldParam fields = 3; - int fields_size() const; - void clear_fields(); - ::milvus::grpc::FieldParam* mutable_fields(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::grpc::FieldParam >* - mutable_fields(); - const ::milvus::grpc::FieldParam& fields(int index) const; - ::milvus::grpc::FieldParam* add_fields(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::grpc::FieldParam >& - fields() const; - // repeated .milvus.grpc.KeyValuePair extra_params = 4; int extra_params_size() const; void clear_extra_params(); @@ -1121,15 +1133,23 @@ class Mapping : ::milvus::grpc::Status* mutable_status(); void set_allocated_status(::milvus::grpc::Status* status); + // .milvus.grpc.Schema schema = 3; + bool has_schema() const; + void clear_schema(); + const ::milvus::grpc::Schema& schema() const; + ::milvus::grpc::Schema* release_schema(); + ::milvus::grpc::Schema* mutable_schema(); + void set_allocated_schema(::milvus::grpc::Schema* schema); + // @@protoc_insertion_point(class_scope:milvus.grpc.Mapping) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::grpc::FieldParam > fields_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::grpc::KeyValuePair > extra_params_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; ::milvus::grpc::Status* status_; + ::milvus::grpc::Schema* schema_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_suvlim_2eproto; }; @@ -7480,33 +7500,33 @@ class TimeSyncMsg : // accessors ------------------------------------------------------- enum : int { - kClientIdFieldNumber = 1, + kPeerIdFieldNumber = 1, kTimestampFieldNumber = 2, - kMsgTypeFieldNumber = 3, + kSyncTypeFieldNumber = 3, }; - // int64 ClientId = 1; - void clear_clientid(); - ::PROTOBUF_NAMESPACE_ID::int64 clientid() const; - void set_clientid(::PROTOBUF_NAMESPACE_ID::int64 value); + // int64 peer_Id = 1; + void clear_peer_id(); + ::PROTOBUF_NAMESPACE_ID::int64 peer_id() const; + void set_peer_id(::PROTOBUF_NAMESPACE_ID::int64 value); // int64 Timestamp = 2; void clear_timestamp(); ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const; void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); - // .milvus.grpc.OpType MsgType = 3; - void clear_msgtype(); - ::milvus::grpc::OpType msgtype() const; - void set_msgtype(::milvus::grpc::OpType value); + // .milvus.grpc.SyncType sync_type = 3; + void clear_sync_type(); + ::milvus::grpc::SyncType sync_type() const; + void set_sync_type(::milvus::grpc::SyncType value); // @@protoc_insertion_point(class_scope:milvus.grpc.TimeSyncMsg) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::int64 clientid_; + ::PROTOBUF_NAMESPACE_ID::int64 peer_id_; ::PROTOBUF_NAMESPACE_ID::int64 timestamp_; - int msgtype_; + int sync_type_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_suvlim_2eproto; }; @@ -7772,7 +7792,6 @@ class Key2SegMsg : enum : int { kRecordsFieldNumber = 2, kClientIdFieldNumber = 1, - kMsgTypeFieldNumber = 3, }; // .milvus.grpc.SegmentRecord records = 2; bool has_records() const; @@ -7787,11 +7806,6 @@ class Key2SegMsg : ::PROTOBUF_NAMESPACE_ID::int64 client_id() const; void set_client_id(::PROTOBUF_NAMESPACE_ID::int64 value); - // .milvus.grpc.OpType msg_type = 3; - void clear_msg_type(); - ::milvus::grpc::OpType msg_type() const; - void set_msg_type(::milvus::grpc::OpType value); - // @@protoc_insertion_point(class_scope:milvus.grpc.Key2SegMsg) private: class _Internal; @@ -7799,7 +7813,6 @@ class Key2SegMsg : ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; ::milvus::grpc::SegmentRecord* records_; ::PROTOBUF_NAMESPACE_ID::int64 client_id_; - int msg_type_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_suvlim_2eproto; }; @@ -8291,34 +8304,55 @@ inline void Mapping::set_allocated_collection_name(std::string* collection_name) // @@protoc_insertion_point(field_set_allocated:milvus.grpc.Mapping.collection_name) } -// repeated .milvus.grpc.FieldParam fields = 3; -inline int Mapping::fields_size() const { - return fields_.size(); +// .milvus.grpc.Schema schema = 3; +inline bool Mapping::has_schema() const { + return this != internal_default_instance() && schema_ != nullptr; } -inline void Mapping::clear_fields() { - fields_.Clear(); +inline void Mapping::clear_schema() { + if (GetArenaNoVirtual() == nullptr && schema_ != nullptr) { + delete schema_; + } + schema_ = nullptr; } -inline ::milvus::grpc::FieldParam* Mapping::mutable_fields(int index) { - // @@protoc_insertion_point(field_mutable:milvus.grpc.Mapping.fields) - return fields_.Mutable(index); +inline const ::milvus::grpc::Schema& Mapping::schema() const { + const ::milvus::grpc::Schema* p = schema_; + // @@protoc_insertion_point(field_get:milvus.grpc.Mapping.schema) + return p != nullptr ? *p : *reinterpret_cast( + &::milvus::grpc::_Schema_default_instance_); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::grpc::FieldParam >* -Mapping::mutable_fields() { - // @@protoc_insertion_point(field_mutable_list:milvus.grpc.Mapping.fields) - return &fields_; +inline ::milvus::grpc::Schema* Mapping::release_schema() { + // @@protoc_insertion_point(field_release:milvus.grpc.Mapping.schema) + + ::milvus::grpc::Schema* temp = schema_; + schema_ = nullptr; + return temp; } -inline const ::milvus::grpc::FieldParam& Mapping::fields(int index) const { - // @@protoc_insertion_point(field_get:milvus.grpc.Mapping.fields) - return fields_.Get(index); +inline ::milvus::grpc::Schema* Mapping::mutable_schema() { + + if (schema_ == nullptr) { + auto* p = CreateMaybeMessage<::milvus::grpc::Schema>(GetArenaNoVirtual()); + schema_ = p; + } + // @@protoc_insertion_point(field_mutable:milvus.grpc.Mapping.schema) + return schema_; } -inline ::milvus::grpc::FieldParam* Mapping::add_fields() { - // @@protoc_insertion_point(field_add:milvus.grpc.Mapping.fields) - return fields_.Add(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::grpc::FieldParam >& -Mapping::fields() const { - // @@protoc_insertion_point(field_list:milvus.grpc.Mapping.fields) - return fields_; +inline void Mapping::set_allocated_schema(::milvus::grpc::Schema* schema) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete schema_; + } + if (schema) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + schema = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, schema, submessage_arena); + } + + } else { + + } + schema_ = schema; + // @@protoc_insertion_point(field_set_allocated:milvus.grpc.Mapping.schema) } // repeated .milvus.grpc.KeyValuePair extra_params = 4; @@ -12844,18 +12878,18 @@ SearchMsg::extra_params() const { // TimeSyncMsg -// int64 ClientId = 1; -inline void TimeSyncMsg::clear_clientid() { - clientid_ = PROTOBUF_LONGLONG(0); +// int64 peer_Id = 1; +inline void TimeSyncMsg::clear_peer_id() { + peer_id_ = PROTOBUF_LONGLONG(0); } -inline ::PROTOBUF_NAMESPACE_ID::int64 TimeSyncMsg::clientid() const { - // @@protoc_insertion_point(field_get:milvus.grpc.TimeSyncMsg.ClientId) - return clientid_; +inline ::PROTOBUF_NAMESPACE_ID::int64 TimeSyncMsg::peer_id() const { + // @@protoc_insertion_point(field_get:milvus.grpc.TimeSyncMsg.peer_Id) + return peer_id_; } -inline void TimeSyncMsg::set_clientid(::PROTOBUF_NAMESPACE_ID::int64 value) { +inline void TimeSyncMsg::set_peer_id(::PROTOBUF_NAMESPACE_ID::int64 value) { - clientid_ = value; - // @@protoc_insertion_point(field_set:milvus.grpc.TimeSyncMsg.ClientId) + peer_id_ = value; + // @@protoc_insertion_point(field_set:milvus.grpc.TimeSyncMsg.peer_Id) } // int64 Timestamp = 2; @@ -12872,18 +12906,18 @@ inline void TimeSyncMsg::set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) { // @@protoc_insertion_point(field_set:milvus.grpc.TimeSyncMsg.Timestamp) } -// .milvus.grpc.OpType MsgType = 3; -inline void TimeSyncMsg::clear_msgtype() { - msgtype_ = 0; +// .milvus.grpc.SyncType sync_type = 3; +inline void TimeSyncMsg::clear_sync_type() { + sync_type_ = 0; } -inline ::milvus::grpc::OpType TimeSyncMsg::msgtype() const { - // @@protoc_insertion_point(field_get:milvus.grpc.TimeSyncMsg.MsgType) - return static_cast< ::milvus::grpc::OpType >(msgtype_); +inline ::milvus::grpc::SyncType TimeSyncMsg::sync_type() const { + // @@protoc_insertion_point(field_get:milvus.grpc.TimeSyncMsg.sync_type) + return static_cast< ::milvus::grpc::SyncType >(sync_type_); } -inline void TimeSyncMsg::set_msgtype(::milvus::grpc::OpType value) { +inline void TimeSyncMsg::set_sync_type(::milvus::grpc::SyncType value) { - msgtype_ = value; - // @@protoc_insertion_point(field_set:milvus.grpc.TimeSyncMsg.MsgType) + sync_type_ = value; + // @@protoc_insertion_point(field_set:milvus.grpc.TimeSyncMsg.sync_type) } // ------------------------------------------------------------------- @@ -13003,20 +13037,6 @@ inline void Key2SegMsg::set_allocated_records(::milvus::grpc::SegmentRecord* rec // @@protoc_insertion_point(field_set_allocated:milvus.grpc.Key2SegMsg.records) } -// .milvus.grpc.OpType msg_type = 3; -inline void Key2SegMsg::clear_msg_type() { - msg_type_ = 0; -} -inline ::milvus::grpc::OpType Key2SegMsg::msg_type() const { - // @@protoc_insertion_point(field_get:milvus.grpc.Key2SegMsg.msg_type) - return static_cast< ::milvus::grpc::OpType >(msg_type_); -} -inline void Key2SegMsg::set_msg_type(::milvus::grpc::OpType value) { - - msg_type_ = value; - // @@protoc_insertion_point(field_set:milvus.grpc.Key2SegMsg.msg_type) -} - #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -13140,6 +13160,11 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::milvus::grpc::OpType>() { return ::milvus::grpc::OpType_descriptor(); } +template <> struct is_proto_enum< ::milvus::grpc::SyncType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::milvus::grpc::SyncType>() { + return ::milvus::grpc::SyncType_descriptor(); +} PROTOBUF_NAMESPACE_CLOSE diff --git a/proxy/src/grpc/suvlim.proto b/proxy/src/grpc/suvlim.proto index 58ef6818c5..b1acb2b60a 100644 --- a/proxy/src/grpc/suvlim.proto +++ b/proxy/src/grpc/suvlim.proto @@ -99,7 +99,7 @@ message FieldName { message Mapping { Status status = 1; string collection_name = 2; - repeated FieldParam fields = 3; + Schema schema = 3; repeated KeyValuePair extra_params = 4; } @@ -672,8 +672,6 @@ service MilvusService { enum OpType { INSERT = 0; DELETE = 1; - SEARCH = 2; - SEARCH_RESULT = 3; } message InsertOrDeleteMsg { @@ -699,10 +697,14 @@ message SearchMsg { repeated KeyValuePair extra_params = 7; } +enum SyncType { + READ = 0; + WRITE = 1; +} message TimeSyncMsg{ - int64 ClientId = 1; - int64 Timestamp = 2; - OpType MsgType = 3; + int64 peer_Id = 1; + int64 Timestamp = 2; + SyncType sync_type = 3; } message SegmentRecord { @@ -711,7 +713,6 @@ message SegmentRecord { } message Key2SegMsg { - int64 client_id = 1; - SegmentRecord records = 2; - OpType msg_type = 3; + int64 client_id = 1; + SegmentRecord records = 2; } diff --git a/proxy/src/pulsar/message_client/Producer.cpp b/proxy/src/pulsar/message_client/Producer.cpp index c8bdba79c9..8e2650dc49 100644 --- a/proxy/src/pulsar/message_client/Producer.cpp +++ b/proxy/src/pulsar/message_client/Producer.cpp @@ -22,6 +22,26 @@ namespace message_client { return send(pulsar_msg); } + Result MsgProducer::send(const milvus::grpc::InsertOrDeleteMsg &msg) { + auto msg_str = msg.SerializeAsString(); + return send(msg_str); + } + + Result MsgProducer::send(const milvus::grpc::SearchMsg &msg) { + auto msg_str = msg.SerializeAsString(); + return send(msg_str); + } + + Result MsgProducer::send(const milvus::grpc::GetEntityIDsParam &msg) { + auto msg_str = msg.SerializeAsString(); + return send(msg_str); + } + + Result MsgProducer::send(const milvus::grpc::TimeSyncMsg &msg) { + auto msg_str = msg.SerializeAsString(); + return send(msg_str); + } + Result MsgProducer::close() { return producer_.close(); } diff --git a/proxy/src/pulsar/message_client/Producer.h b/proxy/src/pulsar/message_client/Producer.h index 1c7a323c3f..903c3b54ca 100644 --- a/proxy/src/pulsar/message_client/Producer.h +++ b/proxy/src/pulsar/message_client/Producer.h @@ -20,7 +20,8 @@ class MsgProducer { Result send(const std::string &msg); Result send(const milvus::grpc::InsertOrDeleteMsg &msg); Result send(const milvus::grpc::SearchMsg &msg); - Result Send(const milvus::grpc::GetEntityIDsParam); + Result send(const milvus::grpc::GetEntityIDsParam &msg); + Result send(const milvus::grpc::TimeSyncMsg & msg); Result close(); const Producer & diff --git a/proxy/src/version.h b/proxy/src/version.h index d55216cbc6..e947b11780 100644 --- a/proxy/src/version.h +++ b/proxy/src/version.h @@ -11,6 +11,5 @@ #define MILVUS_VERSION "0.10.0" #define BUILD_TYPE "Debug" - -#define BUILD_TIME "2020-09-03 16:41.13" -#define LAST_COMMIT_ID "a97d3e925e993f4a2a7409a9734dcc788f109767" \ No newline at end of file +#define BUILD_TIME "2020-09-04 17:57.24" +#define LAST_COMMIT_ID "6ec32687abd8678576faddd67a5e9431c509ab26" diff --git a/util/etcdutil/etcdutil.go b/util/etcdutil/etcdutil.go index 3b19b597e6..03be1c2646 100644 --- a/util/etcdutil/etcdutil.go +++ b/util/etcdutil/etcdutil.go @@ -20,7 +20,7 @@ import ( "time" "github.com/gogo/protobuf/proto" - "github.com/pingcap/errors" + "github.com/czs007/suvlim/errors" "github.com/pingcap/log" "go.etcd.io/etcd/clientv3" "go.etcd.io/etcd/etcdserver" diff --git a/util/logutil/log.go b/util/logutil/log.go index 25e74a43ea..44bce4ad49 100644 --- a/util/logutil/log.go +++ b/util/logutil/log.go @@ -23,7 +23,7 @@ import ( "sync" "github.com/coreos/pkg/capnslog" - "github.com/pingcap/errors" + "github.com/czs007/suvlim/errors" zaplog "github.com/pingcap/log" log "github.com/sirupsen/logrus" "go.etcd.io/etcd/raft"