On Fri, Aug 28, 2009 at 9:43 AM, ant elder<[email protected]> wrote: > On Fri, Aug 28, 2009 at 9:39 AM, Simon Laws<[email protected]> wrote: >>> is simple and likely will have the same result. >>> >> >> The "same result" being that you need a strategy for dealing with errors. >> >> Simon >> > > I meant just fail by passing the error back up to the client instead > of trying to do anything clever. It doesn't seem so unreasonable to > have requests fail that happen to coincide with while a node is being > restarted. > > ...ant >
Actually, couldn't we do something slightly more clever than the current retry fix in JDKInvocationHandler by checking that reference target endpoint is still the same as the one in the registry before the invoke and if not then doing the wire rebuild before the invoke instead of waiting till after the request fails? ...ant
