mdarifmustafa / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-ldap: provide exception configuration for operation retries #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The only exception that is used for operation retries is the
CommunicationException.
Several users have reported the JNDI provider throwing
ServiceUnavailableException when networking errors occur.
(The use cases appear to be specific to load balancers...)
This seems to be bad behavior since the client cannot distinguish between a
valid ldap error code and a networking error.
Nevertheless allowing users to specify which exception(s) leverage
operation retries would address this problem.

Original issue reported on code.google.com by dfis...@gmail.com on 23 Nov 2009 at 4:07

GoogleCodeExporter commented 8 years ago
Added configuration option for operation retry exceptions.
Default values are CommunicationException and ServiceUnavailableException.
Updated implementation to check for configured exceptions on retry.

Also added operation retry wait configuration option.
Provides a set delay before retrying the operation.

Fixed in r1061.

Original comment by dfis...@gmail.com on 24 Nov 2009 at 3:55