Kannan J
Kannan J
We find it surprising that awaitTermination could have stopped working since it works in the examples code. Can you provide a test setup and share the GCP project with us...
Can we try using the older Netty dependencies from before the time this issue got reported and see if we are able to repro it? We can try with netty...
In [NettyServerHandler::handlerAdded](https://github.com/grpc/grpc-java/blob/926905012513301d70f28b9d3a3c85c8cc3d8ff2/netty/src/main/java/io/grpc/netty/NettyServerHandler.java#L367) there is a ChannelHandlerContext passed by the grpc server side code, and during the grpc server's handling of a rpc read or write, the code sending this context...
The unreleased ByteBuf mentioned in the stacktrace is not about the outbound queue messages. The ByteBuf created in NettyHandlereTestBase::grpcFrame needs to be released.
@Sangamesh1997 Can you provide the build error log that you are fixing with this PR? In the failing [build.log](https://btx.cloud.google.com/invocations/f6fc98a4-a3a6-4fde-8d64-cf0306c0897d/targets/grpc%2Fjava%2Fmaster%2Fpresubmit%2Flinux_artifacts;config=default/log) of PR #12040 I don't see any errors about @TargetApi for...
@Sangamesh1997 can you share that lint report.html?
> Since the team is currently working on upgrading the Android Gradle Plugin (AGP) in [#10152](https://github.com/grpc/grpc-java/issues/10152), the target SDK upgrade to 35/36 will be taken up after that is complete....
ClientCalls.blockingUnaryCall is stuck waiting for the [responseFuture to be done](https://github.com/grpc/grpc-java/blob/22cf7cf2ac454843b20993fd0b58918563a51a83/stub/src/main/java/io/grpc/stub/ClientCalls.java#L164). One time it gets a [runnable](https://github.com/grpc/grpc-java/blob/22cf7cf2ac454843b20993fd0b58918563a51a83/core/src/main/java/io/grpc/internal/ManagedChannelImpl.java#L1026) given by ManagedChannelImpl that executes the call that fails with the exception thrown by...
Yes, until it is fixed that is the only workaround when using the `BlockingClientCall`.
@Sangamesh1997 For the old Android API targetted error that is causing the build failure, can you try adding the lint.xml exception mentioned [here](https://stackoverflow.com/questions/62594074/android-lint-reports-oldtargetapi-when-targetsdkversion-is-29)?