ADMIN CHECK TABLET

description

This statement is used to perform a specified check operation on a list of tablets.

Syntax:

  1. ADMIN CHECK TABLE (tablet_id1, tablet_id2, ...)
  2. PROPERTIES("type" = "...");

说明:

  1. You must specify the list of tablet ids and the “type” property in PROPERTIES.

  2. Currently “type” only supports:

    • consistency: Check the consistency of the replicas of the tablet. This command is asynchronous. After sending, Doris will start to perform the consistency check job of the corresponding tablet. The final result will be reflected in the “InconsistentTabletNum” column in the result of `SHOW PROC” / statistic “;

example

  1. Perform a replica consistency check on a specified set of tablets

    1. ADMIN CHECK TABLET (10000, 10001)
    2. PROPERTIES("type" = "consistency");

keyword

  1. ADMIN,CHECK,TABLET