Skip to main content

Class AdminRepairTableRequest.Options

java.lang.Object
com.gpudb.protocol.AdminRepairTableRequest.Options
Enclosing class:

public static final class AdminRepairTableRequest.Options extends Object
A set of string constants for the AdminRepairTableRequest parameter options.

Optional parameters.

  • Field Details

    • REPAIR_POLICY

      public static final String REPAIR_POLICY
      Corrective action to take. Supported values:
      • DELETE_CHUNKS: Deletes any corrupted chunks.
      • SHRINK_COLUMNS: Shrinks corrupted chunks to the shortest column.
      • REPLAY_WAL: Manually invokes write-ahead log (WAL) replay on the table.
      • ALTER_TABLE: Reset columns modification after incomplete alter column.
      • RESYNC_REPLICAS: Repairs replicated tables whose record counts differ across the worker ranks and toms: the copy with the most records is kept, and every other copy is replaced with it. That copy may include records from a load that did not complete, or records that a delete did not remove. A table whose copies all have the same number of records is not repaired, even if their contents differ. Views cannot be named in tableNames; a named table that is not replicated is reported in repairStatus. An asterisk selects every replicated table. The repair runs only while no other requests are running. The repaired tables are listed in the REPAIRED_REPLICATED_TABLES entry of the response info map.
    • DELETE_CHUNKS

      public static final String DELETE_CHUNKS
      Deletes any corrupted chunks.
    • SHRINK_COLUMNS

      public static final String SHRINK_COLUMNS
      Shrinks corrupted chunks to the shortest column.
    • REPLAY_WAL

      public static final String REPLAY_WAL
      Manually invokes write-ahead log (WAL) replay on the table.
    • ALTER_TABLE

      public static final String ALTER_TABLE
      Reset columns modification after incomplete alter column.
    • RESYNC_REPLICAS

      public static final String RESYNC_REPLICAS
      Repairs replicated tables whose record counts differ across the worker ranks and toms: the copy with the most records is kept, and every other copy is replaced with it. That copy may include records from a load that did not complete, or records that a delete did not remove. A table whose copies all have the same number of records is not repaired, even if their contents differ. Views cannot be named in tableNames; a named table that is not replicated is reported in repairStatus. An asterisk selects every replicated table. The repair runs only while no other requests are running. The repaired tables are listed in the REPAIRED_REPLICATED_TABLES entry of the response info map.
    • VERIFY_ALL

      public static final String VERIFY_ALL
      If FALSE only table chunk data already known to be corrupted will be repaired. Otherwise the database will perform a full table scan to check for correctness. Supported values:The default value is FALSE.
    • TRUE

      public static final String TRUE
    • FALSE

      public static final String FALSE