Skip to main content Module context Copy item path Source ColCache π One block-cache pool, plus the column families participating in it. Context π Holds shared resources that must outlive an opened database. SHARED_POOL π Name under which the shared block cache (every CF with
CacheDisp::Shared) is registered in Context::col_cache . after_close π For unit and integration tests the βcleanupβ directive deletes after close
to cleanup. before_open π For unit and integration tests the βfreshβ directive deletes found db. delete_database_for_testing π For unit and integration tests; removes the database directory when called.
To prevent misuse, cfg!(test) must be true for a unit test or the
integration test server is named localhost. ColCaches π Map of block-cache pools keyed by pool name. The pool name is either
SHARED_POOL or the first-arrival CF that created it.