Skip to content

Keeping lossing files #307

@Huckies

Description

@Huckies

I used to deploy this excellent NVR on a Windows PC with all SSD storages, everything works as silk at that time.

Now I deploy this to a QNAP NAS(with all HDDs) using docker image, and I noticed something weird: history records can vanish while the record file is still on my host folder, and this situation is easy to go into when the disk have a high workload.

When checking the log, it shows

01:46:17 CreateAsync: Checking database integrity...
01:46:18 CreateAsync: Database connection is healthy.
01:46:18 CreateAsync: Initializing tables...
01:46:18 InitializeTables: Reclaiming space in database

I suspect whether the old records are discarded due to a timeout searching, and the database is somehow trimmed, making these records permanently unavailable.

Would you please look into this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions