Ah, I realized the metadata.FromContext is deprecated and replacements are explaining what I should do.
Sorry for the noise. On Friday, April 28, 2017 at 2:29:24 PM UTC-7, Jaana Burcu Dogan wrote: > > Hello all, > > I was not able to find any good practices around modifying metadata in > interceptors. We have the following interceptor and it fails when the same > ctx is used to invoke multiple calls concurrently due to metadata race: > https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/trace/grpc.go#L40 > > What's the suggested method here? Should we always copy the invoker ctx's > metadata in interceptors? > > Thanks, > jbd > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/c5ccfd33-4f00-41c5-b48b-cdaaed4bf3fe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
