{"version":"2.1.232","anchor":"auto-dream-consolidation-lock-can-be-storage-backed","canonical_anchor":"auto-dream-consolidation-lock-can-be-storage-backed","heading":"Auto-dream consolidation lock can be storage-backed","tier":"internal","area":"Memory","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232\/e\/auto-dream-consolidation-lock-can-be-storage-backed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232","markdown":"### Auto-dream consolidation lock can be storage-backed\n\nMemory consolidation can take its lock through storage, with the owning process recorded and rollback on failure.\n\n**What**\n\nWhen a storage backend is supplied, the lock guarding memory consolidation becomes a stored record holding the owning process id and the last consolidation time, taken with a compare-and-set update, skipped while a live process still holds it, and rolled back if the work fails.\n\n**Evidence**\n\n`[autoDream] rollback failed: `\n\n- Area: Memory\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}