A set of parameters for GPUdb::adminVerifyDb. More…
#include <gpudb/protocol/admin_verify_db.h>
Public Member Functions | |
| AdminVerifyDbRequest () | |
| Constructs an AdminVerifyDbRequest object with default parameters. | |
| AdminVerifyDbRequest (const std::map< std::string, std::string > &options_) | |
| Constructs an AdminVerifyDbRequest object with the specified parameters. | |
Public Attributes | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::adminVerifyDb.
Verify database is in a consistent state. When inconsistencies or errors are found, the verified_ok flag in the response is set to false and the list of errors found is provided in the error_list.
Definition at line 20 of file admin_verify_db.h.
Constructor & Destructor Documentation
◆ AdminVerifyDbRequest() [1/2]
| inline |
Constructs an AdminVerifyDbRequest object with default parameters.
Definition at line 25 of file admin_verify_db.h.
◆ AdminVerifyDbRequest() [2/2]
| inline |
Constructs an AdminVerifyDbRequest object with the specified parameters.
| [in] | options_ | Optional parameters.
|
Definition at line 201 of file admin_verify_db.h.
Member Data Documentation
◆ options
| std::map<std::string, std::string> gpudb::AdminVerifyDbRequest::options |
Optional parameters.
- admin_verify_db_rebuild_on_error: [DEPRECATED] Use the Rebuild DB feature of GAdmin instead. Supported values:The default value is admin_verify_db_false.
- admin_verify_db_verify_nulls: When true, verifies that null values are set to zero. Supported values:The default value is admin_verify_db_false.
- admin_verify_db_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. Supported values:The default value is admin_verify_db_false.
- admin_verify_db_concurrent_safe: When true, allows this endpoint to be run safely with other concurrent database operations. Other operations may be slower while this is running. Supported values:The default value is admin_verify_db_true.
- admin_verify_db_verify_rank0: If true, compare rank0 table metadata against workers’ metadata. Supported values:The default value is admin_verify_db_false.
- admin_verify_db_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. Supported values:The default value is admin_verify_db_false.
- admin_verify_db_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. Supported values:The default value is admin_verify_db_false.
- admin_verify_db_table_includes: Comma-separated list of table names to include when verifying table consistency on wokers. Cannot be used simultaneously with table_excludes.
- admin_verify_db_table_excludes: Comma-separated list of table names to exclude when verifying table consistency on wokers. Cannot be used simultaneously with table_includes.
The default value is an empty map.
Definition at line 323 of file admin_verify_db.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/admin_verify_db.h