Skip to content

πŸ”΄ CRITICAL: aging cleanup_aged missing pinned filter β†’ data lossΒ #974

Description

@ajianaz

Problem

find_aged (line 79) has AND pinned = 0 but cleanup_aged (line 116-122) does NOT.

This means pinned memories that match age + access_count criteria will be permanently deleted by cleanup_aged.

Fix

Add AND pinned = 0 to cleanup_aged DELETE statement.

Severity: CRITICAL (data loss)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingscope:coreCore engine work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions