Issue reported as grpc/grpc-java#11284
Clone the reproducer branch
git clone -b lh-grpc-netty-4.1.111 --depth 20 https://github.com/lhotari/pulsar
cd pulsar
Build pulsar-metadata module
mvn -pl pulsar-metadata -am install -DskipTests -Dspotbugs.skip=true -Dcheckstyle.skip=true
Reproduce exception io.grpc.StatusRuntimeException: INTERNAL: Encountered end-of-stream mid-frame
.
Example logs for this test case.
mvn -pl pulsar-metadata -DredirectTestOutputToFile=false -DtestRetryCount=0 test -Dtest=MetadataStoreTest#getChildrenTest
Reproduce hang. Examples logs for this test case.
mvn -pl pulsar-metadata -DredirectTestOutputToFile=false -DtestRetryCount=0 test -Dtest=MetadataStoreTest#testConcurrentPutGetOneKey
You can pass -Dnetty.version=4.1.110.Final
on the mvn command line to see the test pass with Netty 4.1.110.Final.