Terracotta-OSS / terracotta-core

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

Test fixes #1305

Closed myronkscott closed 1 year ago

myronkscott commented 1 year ago

Code cleanup. Removing unused detach allows for deleting a bunch of broken code in BasicConnection and TCConnectoinImpl. Added shutdown state to ElectionMgr because shutdown was doing more of a reset which was causing elections to re-run during shutdown causing servers to hang around longer than necessary. Added code to stop spamming connection cleanup when the user opens a connection and discards it before closing the connection.