Closed ansh-agrawal closed 3 months ago
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!
Steps to reproduce the behavior -
First all the observer nodes were added and then the backend nodes.
The frontend and backend nodes starts showing 3 instance each upon
show frontends
andshow backends
Expected behaviour - As the frontend and backend nodes are 3 each now, the
_statistics_.column_statistics
table should have 3 replicas by default, but that is not happening.Real behaviour -
--
statistics`.column_statistics definitionCREATE TABLE
column_statistics
(table_id
bigint(20) NOT NULL COMMENT "",partition_id
bigint(20) NOT NULL COMMENT "",column_name
varchar(65530) NOT NULL COMMENT "", .... ) ENGINE=OLAP PRIMARY KEY(table_id
,partition_id
,column_name
) DISTRIBUTED BY HASH(table_id
,partition_id
,column_name
) BUCKETS 10 PROPERTIES ( "replication_num" = "1", "in_memory" = "false", "enable_persistent_index" = "false", "replicated_storage" = "true", "compression" = "LZ4" );`Not just column_statistics, but all the tables under statistics db show the same behaviour.
The possible issue that we can have is when the backend node contaning this data goes down, causing this table to become corrupt.
StarRocks version - 3.1.0