Closed jcalcote closed 1 year ago
I'm currently testing a custom build - if it works well, I'll submit a patch.
Indeed, the strategy selection ignoring leader follow policy, probably as it was not considered as a one that will be used. So, PR is welcome.
closed by 641d6cf 459920f 3813afc e50ceda
I was monitoring my rpc service via jmx and noticed the io-strategy was set to same-thread. That seemed strange since I requested leader-follower in my code. I started examining oncrpc4j source code and noticed that the nio transport builders are hard-coding same-thread strategy rather than using the one configured by the oncrpcsrv builder:
Is this intentional?
It seems the specified io-strategy is only used to set the size of the thread pool.