Skip to:
The delegated backend in JGroupsBackendQueueProcessor is now only being closed when the backend is "locally owned".Need to verify if this is racy.
JGroupsBackendQueueProcessor
@Sanne Grinovero From what I can see, each JGroupsBackendQueueProcessor gets its own delegate instance, so I'm not sure how we could have a race condition here...?
Anyway, I had to touch this code while working on https://hibernate.atlassian.net/browse/HSEARCH-2675#icft=HSEARCH-2675 and the new code (PR coming) doesn't seem dangerous. Maybe we can close this ticket?
the new close condition was introduced as part of https://hibernate.atlassian.net/browse/HSEARCH-1188#icft=HSEARCH-1188
The delegated backend in
JGroupsBackendQueueProcessor
is now only being closed when the backend is "locally owned".Need to verify if this is racy.