Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise gRPC error statuses and details in meta (Redis/Cassandra) #1013

Merged
merged 9 commits into from
Mar 16, 2021

Conversation

rinx
Copy link
Contributor

@rinx rinx commented Feb 17, 2021

Signed-off-by: Rintaro Okamura rintaro.okamura@gmail.com

Description:

  • Added gRPC error details in meta Redis/Cassandra.

Reference:

Related Issue:

Nothing

How Has This Been Tested?:

Nothing

Environment:

  • Go Version: 1.16
  • Docker Version: 19.03.8
  • Kubernetes Version: 1.18.2
  • NGT Version: 1.12.3

Types of changes:

  • Bug fix [type/bug]
  • New feature [type/feature]
  • Add tests [type/test]
  • Security related changes [type/security]
  • Add documents [type/documentation]
  • Refactoring [type/refactoring]
  • Update dependencies [type/dependency]
  • Update benchmarks and performances [type/bench]
  • Update CI [type/ci]

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Checklist:

  • I have read the CONTRIBUTING document.
  • I have checked open Pull Requests for the similar feature or fixes?
  • I have added tests and benchmarks to cover my changes.
  • I have ensured all new and existing tests passed.
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly.

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 💌 /changelog - add changelog comment
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • /rebase - rebase master
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

@codecov
Copy link

codecov bot commented Feb 17, 2021

Codecov Report

Merging #1013 (cd70f0f) into master (0beb8ae) will decrease coverage by 1.21%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1013      +/-   ##
==========================================
- Coverage   15.25%   14.04%   -1.22%     
==========================================
  Files         498      495       -3     
  Lines       28770    29190     +420     
==========================================
- Hits         4389     4099     -290     
- Misses      24110    24835     +725     
+ Partials      271      256      -15     
Impacted Files Coverage Δ
pkg/meta/cassandra/handler/grpc/handler.go 0.00% <0.00%> (ø)
pkg/meta/redis/handler/grpc/handler.go 0.00% <0.00%> (ø)
internal/config/config.go 14.00% <0.00%> (-82.00%) ⬇️
internal/errgroup/group.go 92.42% <0.00%> (-1.52%) ⬇️
internal/worker/worker.go 83.33% <0.00%> (-1.05%) ⬇️
internal/net/option.go
internal/net/dialer.go
internal/net/net.go

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 777c96e...005a064. Read the comment docs.

@@ -160,10 +249,21 @@
err = s.redis.Set(ctx, kv.GetKey(), kv.GetVal())
if err != nil {
log.Errorf("[SetMeta]\tunknown error\t%+v", err)
err = status.WrapWithInternal(fmt.Sprintf("SetMeta API failed to store: key %s val %s", kv.GetKey(), kv.GetVal()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 121 characters (lll)

@rinx rinx force-pushed the refactor/metas/revise-grpc-status-codes-in-error-cases branch from 2bf54a4 to f341215 Compare February 24, 2021 08:53
default:
log.Errorf("[GetMetasInverse]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("GetMetasInverse API: unknown error occurred: vals %#v", vals.GetVals()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 122 characters (lll)

@@ -200,10 +325,21 @@ func (s *server) SetMeta(ctx context.Context, kv *payload.Meta_KeyVal) (_ *paylo
err = s.cassandra.Set(kv.GetKey(), kv.GetVal())
if err != nil {
log.Errorf("[SetMeta]\tunknown error\t%+v", err)
err = status.WrapWithInternal(fmt.Sprintf("SetMeta API: failed to store: key %s val %s", kv.GetKey(), kv.GetVal()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 122 characters (lll)

case errors.IsErrCassandraUnavailable(err):
log.Warnf("[DeleteMetas]\tunavailable\t%+v", err)
err = status.WrapWithUnavailable(fmt.Sprintf("DeleteMetas API: Cassandra unavailable: keys %#v", keys.GetKeys()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 121 characters (lll)

case errors.IsErrCassandraUnavailable(err):
log.Warnf("[DeleteMetasInverse]\tunavailable\t%+v", err)
err = status.WrapWithUnavailable(fmt.Sprintf("DeleteMetasInverse API: Cassandra unavailable: vals %#v", vals.GetVals()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 128 characters (lll)

case errors.IsErrCassandraUnavailable(err):
log.Warnf("[GetMetasInverse]\tunavailable\t%+v", err)
err = status.WrapWithUnavailable(fmt.Sprintf("GetMetasInverse API: Cassandra unavailable: vals %#v", vals.GetVals()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 125 characters (lll)

default:
log.Errorf("[DeleteMetasInverse]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("DeleteMetasInverse API: unknown error occurred: vals %#v", vals.GetVals()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 125 characters (lll)

@@ -56,24 +57,55 @@ func (s *server) GetMeta(ctx context.Context, key *payload.Meta_Key) (*payload.M
switch {
case errors.IsErrCassandraNotFound(err):
log.Warnf("[GetMeta]\tnot found\t%v\t%s", key.GetKey(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMeta API: not found: key %s", key.GetKey()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)

RequestId: key.GetKey(),
ServingData: errdetails.Serialize(key),
},
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
ResourceName, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

case errors.IsErrCassandraUnavailable(err):
log.Warnf("[GetMeta]\tunavailable\t%+v", err)
err = status.WrapWithUnavailable(fmt.Sprintf("GetMeta API: Cassandra unavailable: key %s", key.GetKey()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)

RequestId: key.GetKey(),
ServingData: errdetails.Serialize(key),
},
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
ResourceName, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

@@ -94,24 +126,56 @@ func (s *server) GetMetas(ctx context.Context, keys *payload.Meta_Keys) (mv *pay
switch {
case errors.IsErrCassandraNotFound(err):
log.Warnf("[GetMetas]\tnot found\t%v\t%s", keys.GetKeys(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMetas API: not found: keys %#v", keys.GetKeys()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
RequestId, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)

case errors.IsErrCassandraUnavailable(err):
log.Warnf("[GetMetas]\tunavailable\t%+v", err)
err = status.WrapWithUnavailable(fmt.Sprintf("GetMetas API: Cassandra unavailable: keys %#v", keys.GetKeys()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
RequestId, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)


default:
log.Errorf("[GetMetas]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("GetMetas API: unknown error occurred: keys %#v", keys.GetKeys()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
RequestId, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)

case errors.IsErrCassandraUnavailable(err):
log.Warnf("[DeleteMetaInverse]\tunavailable\t%+v", err)
err = status.WrapWithUnavailable(fmt.Sprintf("DeleteMetaInverse API: Cassandra unavailable:", val.GetVal()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
printf: Sprintf call has arguments but no formatting directives (govet)

@github-actions github-actions bot added size/L and removed size/L labels Feb 25, 2021
@@ -56,24 +57,43 @@ func (s *server) GetMeta(ctx context.Context, key *payload.Meta_Key) (*payload.M
switch {
case errors.IsErrCassandraNotFound(err):
log.Warnf("[GetMeta]\tnot found\t%v\t%s", key.GetKey(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMeta API: not found: key %s", key.GetKey()), err,
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

case errors.IsErrCassandraUnavailable(err):
log.Warnf("[GetMeta]\tunavailable\t%+v", err)
err = status.WrapWithUnavailable(fmt.Sprintf("GetMeta API: Cassandra unavailable: key %s", key.GetKey()), err,
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

default:
log.Errorf("[GetMeta]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("GetMeta API: unknown error occurred: key %s", key.GetKey()), err,
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

@rinx rinx force-pushed the refactor/metas/revise-grpc-status-codes-in-error-cases branch from 4b4b0d9 to c8687d1 Compare March 1, 2021 05:19
@github-actions github-actions bot added size/L and removed size/L labels Mar 1, 2021
@@ -160,10 +216,17 @@ func (s *server) SetMeta(ctx context.Context, kv *payload.Meta_KeyVal) (_ *paylo
err = s.redis.Set(ctx, kv.GetKey(), kv.GetVal())
if err != nil {
log.Errorf("[SetMeta]\tunknown error\t%+v", err)
err = status.WrapWithInternal(fmt.Sprintf("SetMeta API: failed to store: key %s val %s", kv.GetKey(), kv.GetVal()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 122 characters (lll)

}
log.Errorf("[DeleteMetasInverse]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("DeleteMetasInverse API: unknown error occurred: vals %#v", vals.GetVals()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 124 characters (lll)

@@ -55,16 +56,30 @@ func (s *server) GetMeta(ctx context.Context, key *payload.Meta_Key) (*payload.M
if err != nil {
if errors.IsErrRedisNotFound(err) {
log.Warnf("[GetMeta]\tnot found\t%v\t%s", key.GetKey(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMeta API: not found: key %s", key.GetKey()), err,
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

}
log.Errorf("[GetMeta]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("GetMeta API: unknown error occurred: key %s", key.GetKey()), err,
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

@@ -83,16 +98,30 @@ func (s *server) GetMetas(ctx context.Context, keys *payload.Meta_Keys) (mv *pay
if err != nil {
if errors.IsErrRedisNotFound(err) {
log.Warnf("[GetMetas]\tnot found\t%v\t%s", keys.GetKeys(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMetas API: not found: keys %#v", keys.GetKeys()), err,
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

@@ -108,16 +137,29 @@ func (s *server) GetMetaInverse(ctx context.Context, val *payload.Meta_Val) (*pa
if err != nil {
if errors.IsErrRedisNotFound(err) {
log.Warnf("[GetMetaInverse]\tnot found\t%v\t%s", val.GetVal(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMetaInverse API: not found: val %s", val.GetVal()), err,
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
ResourceName, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

@rinx rinx marked this pull request as ready for review March 1, 2021 06:09
@kpango kpango self-requested a review March 2, 2021 05:06
@kpango
Copy link
Collaborator

kpango commented Mar 2, 2021

In the case of Unavailale or Unkonwn errors, it would be better to return the target IP of the failed connection as the resource name in errdetails.ResourceInfo and additionally errdetails.RequestInfo containing the key of the request.

@rinx
Copy link
Contributor Author

rinx commented Mar 3, 2021

Agree. I'll revise it.

@rinx
Copy link
Contributor Author

rinx commented Mar 3, 2021

Both of gocql and go-redis don't provide informations about requesting Cassandra/Redis hosts. So we cannot embed IPs of these hosts into ResourceInfo.

@rinx
Copy link
Contributor Author

rinx commented Mar 3, 2021

I've just noticed that some of the Cassandra errors can be categorized as the gRPC errors other than the Unknown error. So I'll tackle with it.

@rinx rinx marked this pull request as draft March 3, 2021 02:53
@rinx rinx marked this pull request as ready for review March 3, 2021 07:19
@rinx
Copy link
Contributor Author

rinx commented Mar 3, 2021

Now ready to be reviewed.
/rebase

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Mar 3, 2021

[REBASE] Rebase triggered by rinx for branch: refactor/metas/revise-grpc-status-codes-in-error-cases

@vdaas-ci vdaas-ci force-pushed the refactor/metas/revise-grpc-status-codes-in-error-cases branch from 112ef2c to 57bd288 Compare March 3, 2021 07:20
Copy link
Collaborator

@kpango kpango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Others looks good to me

pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
pkg/meta/cassandra/handler/grpc/handler.go Outdated Show resolved Hide resolved
@rinx
Copy link
Contributor Author

rinx commented Mar 3, 2021

Updated.
/rebase

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Mar 3, 2021

[REBASE] Rebase triggered by rinx for branch: refactor/metas/revise-grpc-status-codes-in-error-cases

@vdaas-ci vdaas-ci force-pushed the refactor/metas/revise-grpc-status-codes-in-error-cases branch from 029b008 to 842ee91 Compare March 3, 2021 09:04
}
log.Errorf("[GetMetasInverse]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("GetMetasInverse API: unknown error occurred: vals %#v", vals.GetVals()), err,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
line is 121 characters (lll)

@@ -55,16 +56,34 @@ func (s *server) GetMeta(ctx context.Context, key *payload.Meta_Key) (*payload.M
if err != nil {
if errors.IsErrRedisNotFound(err) {
log.Warnf("[GetMeta]\tnot found\t%v\t%s", key.GetKey(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMeta API: not found: key %s", key.GetKey()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
RequestId, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)

&errdetails.RequestInfo{
ServingData: errdetails.Serialize(key),
},
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
ResourceName, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

}
log.Errorf("[GetMeta]\tunknown error\t%+v", err)
err = status.WrapWithUnknown(fmt.Sprintf("GetMeta API: unknown error occurred: key %s", key.GetKey()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
RequestId, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)

&errdetails.RequestInfo{
ServingData: errdetails.Serialize(key),
},
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
ResourceName, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

@@ -83,16 +102,34 @@ func (s *server) GetMetas(ctx context.Context, keys *payload.Meta_Keys) (mv *pay
if err != nil {
if errors.IsErrRedisNotFound(err) {
log.Warnf("[GetMetas]\tnot found\t%v\t%s", keys.GetKeys(), err.Error())
err = status.WrapWithNotFound(fmt.Sprintf("GetMetas API: not found: keys %#v", keys.GetKeys()), err,
&errdetails.RequestInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
RequestId, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in RequestInfo (exhaustivestruct)

&errdetails.RequestInfo{
ServingData: errdetails.Serialize(keys),
},
&errdetails.ResourceInfo{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
ResourceName, XXX_NoUnkeyedLiteral, XXX_unrecognized, XXX_sizecache are missing in ResourceInfo (exhaustivestruct)

@rinx
Copy link
Contributor Author

rinx commented Mar 8, 2021

/rebase

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Mar 8, 2021

[REBASE] Rebase triggered by rinx for branch: refactor/metas/revise-grpc-status-codes-in-error-cases

rinx added 8 commits March 8, 2021 08:46
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
@vdaas-ci vdaas-ci force-pushed the refactor/metas/revise-grpc-status-codes-in-error-cases branch from 842ee91 to ea6287b Compare March 8, 2021 08:46
@rinx rinx requested a review from kpango March 8, 2021 08:50
Copy link
Collaborator

@kpango kpango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kpango kpango merged commit e24d71a into master Mar 16, 2021
@kpango kpango deleted the refactor/metas/revise-grpc-status-codes-in-error-cases branch March 16, 2021 03:41
@vdaas-ci vdaas-ci mentioned this pull request Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants