@@ -993,6 +993,7 @@ void TabletSchema::init_from_pb(const TabletSchemaPB& schema, bool ignore_extrac
993
993
_sort_type = schema.sort_type ();
994
994
_sort_col_num = schema.sort_col_num ();
995
995
_compression_type = schema.compression_type ();
996
+ _row_store_page_size = schema.row_store_page_size ();
996
997
_schema_version = schema.schema_version ();
997
998
// Default to V1 inverted index storage format for backward compatibility if not specified in schema.
998
999
if (!schema.has_inverted_index_storage_format ()) {
@@ -1051,6 +1052,7 @@ void TabletSchema::build_current_tablet_schema(int64_t index_id, int32_t version
1051
1052
_skip_write_index_on_load = ori_tablet_schema.skip_write_index_on_load ();
1052
1053
_sort_type = ori_tablet_schema.sort_type ();
1053
1054
_sort_col_num = ori_tablet_schema.sort_col_num ();
1055
+ _row_store_page_size = ori_tablet_schema.row_store_page_size ();
1054
1056
1055
1057
// copy from table_schema_param
1056
1058
_schema_version = version;
@@ -1204,6 +1206,7 @@ void TabletSchema::to_schema_pb(TabletSchemaPB* tablet_schema_pb) const {
1204
1206
tablet_schema_pb->set_sort_col_num (_sort_col_num);
1205
1207
tablet_schema_pb->set_schema_version (_schema_version);
1206
1208
tablet_schema_pb->set_compression_type (_compression_type);
1209
+ tablet_schema_pb->set_row_store_page_size (_row_store_page_size);
1207
1210
tablet_schema_pb->set_version_col_idx (_version_col_idx);
1208
1211
tablet_schema_pb->set_inverted_index_storage_format (_inverted_index_storage_format);
1209
1212
}
@@ -1505,6 +1508,7 @@ bool operator==(const TabletSchema& a, const TabletSchema& b) {
1505
1508
if (a._disable_auto_compaction != b._disable_auto_compaction ) return false ;
1506
1509
if (a._enable_single_replica_compaction != b._enable_single_replica_compaction ) return false ;
1507
1510
if (a._store_row_column != b._store_row_column ) return false ;
1511
+ if (a._row_store_page_size != b._row_store_page_size ) return false ;
1508
1512
if (a._skip_write_index_on_load != b._skip_write_index_on_load ) return false ;
1509
1513
return true ;
1510
1514
}
0 commit comments