deardeng opened a new pull request, #28702: URL: https://github.com/apache/doris/pull/28702
…0 and return In some scenarios, the partition id in the table meta is 0, but the rowset meta partition is not 0, (#28055) PR check partition id will caused be failed to start when upgrade meta like this ``` { "table_id": 1266302, "partition_id": 0, "tablet_id": 1289222, "schema_hash": 816078096, "shard_id": 949, "creation_time": 1684805433, "cumulative_layer_point": -1, "tablet_state": "PB_RUNNING", "schema": { "keys_type": "DUP_KEYS", "column": [ ... ], "num_short_key_columns": 1, "num_rows_per_row_block": 1024, ... "skip_write_index_on_load": false }, "rs_metas": [ { "rowset_id": 0, "partition_id": 1289193, "tablet_id": 1289222, "tablet_schema_hash": 816078096, "newest_write_timestamp": 1684805433, ... "segments_overlap_pb": "NONOVERLAPPING" } ], "in_restore_mode": false, "tablet_uid": { "hi": -4301918259617109775, "lo": 2820124814688031668 }, "preferred_rowset_type": "BETA_ROWSET", "tablet_type": "TABLET_TYPE_DISK", "replica_id": 1812028, "enable_unique_key_merge_on_write": false, "binlog_config": { "enable": false, "ttl_seconds": 9223372036854775807, "max_bytes": 9223372036854775807, "max_history_nums": 9223372036854775807 }, "compaction_policy": "size_based", "time_series_compaction_goal_size_mbytes": 1024, "time_series_compaction_file_count_threshold": 2000, "time_series_compaction_time_threshold_seconds": 3600 } ``` ## Proposed changes Issue Number: close #xxx <!--Describe your changes.--> ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org