{"version":"2.1.246","anchor":"stale-session-cleanup-only-removes-records-it-can-attribute-","canonical_anchor":"stale-session-cleanup-only-removes-records-it-can-attribute-","heading":"Stale-session cleanup only removes records it can attribute to this machine","tier":"internal","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246\/e\/stale-session-cleanup-only-removes-records-it-can-attribute-","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246","markdown":"### Stale-session cleanup only removes records it can attribute to this machine\n\nLeftover session records are only deleted when they can be traced to this machine.\n\n**What**\n\nThe sweep that deletes leftover session records now checks that a record belongs to the same machine before removing another process's entry, and leaves anything it cannot attribute in place rather than guessing.\n\n**Details**\n\n- On Linux a record seen during the current pass also qualifies for removal.\n- Unattributable dead records are neither counted nor deleted.\n- Reading a record is retried once before giving up.\n- An unknown previous version is recovered from a side file before an unclean exit is reported.\n- The sweep still runs only when registry sweeping is permitted.\n\n**Evidence**\n\n`dead records are left in place (neither counted nor deleted)`\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}