Ariel Shaqed (Scolnicov)
03/14/2021, 8:21 AM// We don't want a cancellation of ctx to affect the
// lookupGroup operation. Otherwise if our context gets
// canceled it might cause an error to be returned to a lookup
// using a completely different context. However we need to preserve
// only the values in context. See Issue 28600.
lookupGroupCtx, lookupGroupCancel := context.WithCancel(withUnexpiredValuesPreserved(ctx))
Ariel Shaqed (Scolnicov)
03/14/2021, 8:31 AM