ClientPolicy.onRPC() of DefaultUpcallImpl.java swallows RemoteException. So AtLeastOnceRPCPolicy retry doesn't work in case of RemoteException.
Consensus DM client is throwing RemoteException upon LeaderException when leader is not elected. So when AtleastOnceRPC is chained with Consensus DM, and if Consensus DM client throws RemoteException, it is swallowed at DefaultUpcallImpl.ClientPolicy.onRPC() and AtLeastOnceRPCPolicy retry do not happen.