Skip to content

docs: RocksDB flush-ERROR spam at shutdown when collection directory is removed while handle is open #207

Description

@s2x

Finding (from #192 follow-up)

Removing a collection directory (e.g. rm -rf in test cleanup) while the collection handle is still open causes ~10 console ERROR lines from RocksDB at process shutdown (rocksdb_context.cc:349, inverted_indexer.cc:102, id_map.cc:76) as the destructor tries to flush against the missing directory.

Evidence

Current state

Documented in docs/helpers/faq.md (added with #192): tests must close() (or destroy()) before removing the directory. An explicit section in README/docs ("Lifecycle: close before cleanup") may help library users too — this issue tracks that documentation work.

Low priority — footgun is documented; this is about user-facing docs beyond the helper knowledge base.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions