[jbossts-issues] [JBoss JIRA] (JBTM-3017) Provide a check to see if the last recovery scan "cleaned" the store.

Michael Musgrove (JIRA) issues at jboss.org
Mon Apr 30 07:16:02 EDT 2018


    [ https://issues.jboss.org/browse/JBTM-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13568713#comment-13568713 ] 

Michael Musgrove commented on JBTM-3017:
----------------------------------------

For orphan detection the new operation being proposed would check that each registered XAResource was contacted during the last recovery scan. But note that recovery scans can occur before applications are deployed so it is the callers responsibility to only rely upon the result of the operation after all deployments have completed. We do this with EAP on OpenShift by running the readinessProbe.sh which guarantees the deployment is up and has registered all its required resources (ie the operation will therefore be guaranteed to attempt contact with all possible resources).


> Provide a check to see if the last recovery scan "cleaned" the store. 
> ----------------------------------------------------------------------
>
>                 Key: JBTM-3017
>                 URL: https://issues.jboss.org/browse/JBTM-3017
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>          Components: Recovery, Tooling
>    Affects Versions: 5.8.1.Final
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>             Fix For: 5.next
>
>
> There are some recovery manager use cases where the user needs to know that the log store is empty and that all orphans have been detected (for example it is possible that some resource managers were not available during the last scan).
> This feature would be particularly useful when running on OpenShift in order to determine when it is safe scale down and reclaim the space used by a pod.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossts-issues mailing list