Skip to main content

verify_database

Function verify_database 

Source
pub fn verify_database(db_name: &str, config: &VerifyConfig) -> VerifyResult
Expand description

Verify a specific database by name.

Stub — not yet implemented. This function always returns a passing VerifyResult without performing any verification work. Do not rely on the result for production integrity checking.

When a live tree reference is available, call verify_tree() directly to perform full structural verification (key-range checks, LSN validity). This entry point validates database-level metadata without a tree handle.

See docs/src/operations/known-limitations.md for the current status.

§Arguments

  • db_name - Name of the database to verify.
  • config - Configuration controlling what to verify.

§Returns

A VerifyResult containing any errors found and verification statistics.