Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Levelup creates .LDB file every time the database is opened again #712

@ghost

Description

In my application I'm using levelup to write a few values into a database, however I noticed that every time my node script restarts, it creates a new .LDB file in the database directory. Is this intended behavior? I call levelup(leveldown('./db/myDatabase')); every time my code starts, and it basically creates a new .LDB file when it starts again. Also calling db.close() has no effect for me. Is this intended behavior, a problem with levelDB or a flaw in my coding? I'd love to know.

Best regards,

Nick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions