New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern read should handle race condition #117

Closed
rhuss opened this Issue Sep 20, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@rhuss
Owner

rhuss commented Sep 20, 2013

When using read with a pattern, then two step are performed: First, the MBeans are searched for, then their attributes are read. So, when an MBean gets deregistered inbetween, then the read will fail.

An InstanceNotFoundException should be ignored, which has effectively the same consequence as if the MBean wouldn't be included in the search result from the very beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment