Files
ziti/controller/model
Paul Lorenz 18518041b7 Fix lock order inversion in ConnectionTracker. Fixes #4208
- releases the per-identity lock before acquiring the cmap shard lock when the scan
  loop reaps an entry, establishing a single shard-lock-then-value-lock order
- extracts the entry removal into removeIfEmpty, which decides based on the value
  currently in the map, so an identity that reconnects after the scan decided to
  remove it is left alone
- takes the per-identity lock in the removal check, fixing an unsynchronized read of
  the router map
- documents the lock ordering invariant on identityConnections
- adds tests covering concurrent scanning and connect/disconnect handling, entry
  reaping, and reconnection between the scan's decision and the removal
- adds a Release 1.6.19 changelog entry

(cherry picked from commit 0451ca7ebc)
2026-07-31 14:08:53 -04:00
..
2023-09-28 23:34:28 -04:00
2023-09-28 23:34:28 -04:00
2022-06-30 17:45:08 -04:00
2022-06-30 17:45:08 -04:00
2022-06-30 17:45:08 -04:00
2025-04-02 15:28:59 -04:00