[object Object]

← back to Exo

don't time out node identities (#1493)

6d1ca6689bbf13e323b3d2e303a42281f7d70649 · 2026-02-17 11:48:28 +0000 · Evan Quiney

currently nodes leaving and rejoining the cluster can lose their identity. We have no need to delete this data on node timing out, so let's just persist it.

Files touched

Diff

commit 6d1ca6689bbf13e323b3d2e303a42281f7d70649
Author: Evan Quiney <evanev7@gmail.com>
Date:   Tue Feb 17 11:48:28 2026 +0000

    don't time out node identities (#1493)
    
    currently nodes leaving and rejoining the cluster can lose their identity. We have no need to delete this data on node timing out, so let's just persist it.
---
 src/exo/shared/apply.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/exo/shared/apply.py b/src/exo/shared/apply.py
index fd0df265..94869dfe 100644
--- a/src/exo/shared/apply.py
+++ b/src/exo/shared/apply.py
@@ -218,11 +218,6 @@ def apply_node_timed_out(event: NodeTimedOut, state: State) -> State:
         key: value for key, value in state.downloads.items() if key != event.node_id
     }
     # Clean up all granular node mappings
-    node_identities = {
-        key: value
-        for key, value in state.node_identities.items()
-        if key != event.node_id
-    }
     node_memory = {
         key: value for key, value in state.node_memory.items() if key != event.node_id
     }
@@ -263,7 +258,6 @@ def apply_node_timed_out(event: NodeTimedOut, state: State) -> State:
             "downloads": downloads,
             "topology": topology,
             "last_seen": last_seen,
-            "node_identities": node_identities,
             "node_memory": node_memory,
             "node_disk": node_disk,
             "node_system": node_system,

← c01b6fff eprint banner  ·  back to Exo  ·  dashboard: redesign downloads page as model×node table (#146 d6301ed5 →