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.

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.

§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.