mirror of https://github.com/grpc/grpc.git
[iomgr] Fix epoll1 engine reinitialization after grpc_shutdown (#33085)
Fixes https://github.com/grpc/grpc/issues/32481. Please test this with the (excellent) repro case in https://github.com/grpc/grpc/pull/33000, and consider merging _just_ the test from that PR. Per #32481, the issue was bisected to https://github.com/grpc/grpc/pull/30101. What changed in that PR is that the epoll1 engine is only checked for availablily once per process at iomgr initialization (which as a side effect initializes the engine), but the engine was being shutdown with `grpc_shutdown` anyhow. With repeated cycles of grpc init & shutdown in the same process, the second attempt to reinit and use gRPC finds the epoll1 engine in an invalid state.pull/33084/head
parent
2adc96b9c2
commit
c7aee34c37
1 changed files with 10 additions and 3 deletions
Loading…
Reference in new issue