Terracotta-OSS / terracotta-core

The core components of the Terracotta Server
Apache License 2.0
64 stars 58 forks source link

DRAFT : Trying to grok reconnect interrupt handling #1312

Closed chrisdennis closed 1 year ago

chrisdennis commented 1 year ago

I think the reasserting here is wrong... and I think this is causing the occasional infinite reconnect loop. I wonder if the in to that loop is the line I've added a comment to where we interrupt and wait for termination, but don't flip any termination conditions. I'm thinking if this code path got called during a reconnect it could trigger one of these loops.