diff --git a/dialoptions.go b/dialoptions.go index 7c312881d953..a55b4bdb39cc 100644 --- a/dialoptions.go +++ b/dialoptions.go @@ -665,6 +665,10 @@ func WithResolvers(rs ...resolver.Builder) DialOption { // If you are unsure about how to implement a memory pool but want to utilize one, // begin with grpc.NewSimpleSharedBufferPool. // +// Note: The shared buffer pool feature will not be active if any of the following +// options are used: WithStatsHandler, EnableTracing, or binary logging. In such +// cases, the shared buffer pool will be ignored. +// // # Experimental // // Notice: This API is EXPERIMENTAL and may be changed or removed in a diff --git a/server.go b/server.go index f1c71d99b958..25e981813c3a 100644 --- a/server.go +++ b/server.go @@ -561,6 +561,10 @@ func NumStreamWorkers(numServerWorkers uint32) ServerOption { // If you are unsure about how to implement a memory pool but want to utilize one, // begin with grpc.NewSimpleSharedBufferPool. // +// Note: The shared buffer pool feature will not be active if any of the following +// options are used: StatsHandler, EnableTracing, or binary logging. In such +// cases, the shared buffer pool will be ignored. +// // # Experimental // // Notice: This API is EXPERIMENTAL and may be changed or removed in a