Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove switching executor for onReady/onCancel/onComplete.
This fixes the issue with the interleaving of onReady and onMessageAndHalfClose with the Vert.x SDK. Without this commit, both onReady and onMessageAndHalfClose will set and unset the gRPC Context. Doing so mutates the Vert.x Context, which is unique per Executor and shared among executor tasks. Because the userExecutor is Vertx.executeBlocking with ordered = false, Vert.x executes the tasks in parallel, so it is possible that the execution of onMessageAndHalfClose interleaves with the ending of onReady, which detaches the context, thus causing a syscall not found issue.
- Loading branch information