Skip to main content

Constants for the fields of the /admin/verifydb request.

Option fields

options

Constants for options.

pub const CONCURRENT_SAFE: &str = “concurrent_safe”;

When true, halts other jobs while the verify operation runs.

pub const DELETE_ORPHANED_TABLES: &str = “delete_orphaned_tables”;

If true, orphaned table directories found on workers for which there is no corresponding metadata will be deleted. It is recommended to run this while the database is offline OR set concurrent_safe in options to true.

pub const FALSE: &str = “false”;
pub const REBUILD_ON_ERROR: &str = “rebuild_on_error”;

[DEPRECATED] Use the Rebuild DB feature of GAdmin instead.

pub const TABLE_EXCLUDES: &str = “table_excludes”;

Comma-separated list of table names to exclude when verifying table consistency on workers. Cannot be used simultaneously with table_includes.

pub const TABLE_INCLUDES: &str = “table_includes”;

Comma-separated list of table names to include when verifying table consistency on workers. Cannot be used simultaneously with table_excludes.

pub const TRUE: &str = “true”;
pub const VERIFY_NULLS: &str = “verify_nulls”;

When true, verifies that null values are set to zero.

pub const VERIFY_ORPHANED_TABLES_ONLY: &str = “verify_orphaned_tables_only”;

If true, only the presence of orphaned table directories will be checked, all persistence and table consistency checks will be skipped.

pub const VERIFY_PERSIST: &str = “verify_persist”;

When true, persistent objects will be compared against their state in memory and workers will be checked for orphaned table data in persist. To check for orphaned worker data, either set concurrent_safe in options to true or place the database offline.

pub const VERIFY_RANK0: &str = “verify_rank0”;

If true, compare rank0 table metadata against workers’ metadata.