[FEAT MERGE] instant ddl commit
Co-authored-by: hiddenbomb <bwgui203@gmail.com> Co-authored-by: Charles0429 <xiezhenjiang@gmail.com> Co-authored-by: rolandqi <qikai456@126.com>
This commit is contained in:
@ -137,7 +137,10 @@ int ObRowCacheKey::deep_copy(char *buf, const int64_t buf_len, ObIKVCacheKey *&k
|
||||
bool ObRowCacheKey::is_valid() const
|
||||
{
|
||||
return OB_LIKELY(0 != tenant_id_ && tablet_id_.is_valid() && rowkey_size_ > 0
|
||||
&& data_version_ > -1 && (ObITable::is_minor_sstable(table_type_) || ObITable::is_major_sstable(table_type_) || ObITable::is_meta_major_sstable(table_type_))
|
||||
&& data_version_ > -1 && (ObITable::is_minor_sstable(table_type_)
|
||||
|| ObITable::is_major_sstable(table_type_)
|
||||
|| ObITable::is_ddl_sstable(table_type_)
|
||||
|| ObITable::is_meta_major_sstable(table_type_))
|
||||
&& rowkey_.is_valid());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user