add placeholder for DELAYED_TRANSFORM_MAJOR
This commit is contained in:
parent
a98b7c35b4
commit
852263d74f
@ -222,7 +222,8 @@ const char* ObCOMajorSSTableStatusStr[] = {
|
||||
"COL_ONLY_ALL",
|
||||
"PURE_COL",
|
||||
"PURE_COL_ONLY_ALL",
|
||||
"COL_REPLICA_MAJOR"
|
||||
"COL_REPLICA_MAJOR",
|
||||
"DELAYED_TRANSFORM_MAJOR"
|
||||
};
|
||||
|
||||
const char* co_major_sstable_status_to_str(const ObCOMajorSSTableStatus& major_sstable_status)
|
||||
|
@ -107,22 +107,25 @@ enum ObCOMajorSSTableStatus: uint8_t {
|
||||
PURE_COL = 3, // rowkey cg + normal cg
|
||||
PURE_COL_ONLY_ALL = 4, // all cg only (schema do not have all cg)
|
||||
COL_REPLICA_MAJOR = 5, // temp status, row store major from F/R replica for column store replica
|
||||
DELAYED_TRANSFORM_MAJOR = 6, // row store sstable under column store schema
|
||||
MAX_CO_MAJOR_SSTABLE_STATUS
|
||||
};
|
||||
/*
|
||||
+-----------------+---------------+---------------+-------+
|
||||
| status | schema | last_major |IS_SAME|
|
||||
+-----------------+---------------+---------------+-------+
|
||||
| COL_WITH_ALL | ALL+EACH | ALL+EACH | YES |
|
||||
+-----------------+---------------+---------------+-------+
|
||||
| COL_ONLY_ALL | ALL+EACH | ALL | NO |
|
||||
+-----------------+---------------+---------------+-------+
|
||||
| PURE_COL | EACH | EACH | YES |
|
||||
+-----------------+---------------+---------------+-------+
|
||||
|PURE_COL_ONLY_ALL| EACH | ALL | NO |
|
||||
+-----------------+---------------+---------------+-------+
|
||||
|COL_REPLICA_MAJOR| ROW STORE | ROW STORE | YES |
|
||||
+-----------------+---------------+---------------+-------+
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
| status | schema | last_major |IS_SAME|
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
| COL_WITH_ALL | ALL+EACH | ALL+EACH | YES |
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
| COL_ONLY_ALL | ALL+EACH | ALL | NO |
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
| PURE_COL | EACH | EACH | YES |
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
| PURE_COL_ONLY_ALL | EACH | ALL | NO |
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
| COL_REPLICA_MAJOR | ROW STORE | ROW STORE | YES |
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
|DELAYED_TRANSFORM_MAJOR| ALL+EACH/EACH | ROW STORE | NO |
|
||||
+-----------------------+---------------+---------------+-------+
|
||||
*/
|
||||
inline bool is_valid_co_major_sstable_status(const ObCOMajorSSTableStatus& major_sstable_status)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user