[TiDB Usage Environment] Production Environment
[TiDB Version] v5.4.2
[Reproduction Path] Decommission a TiFlash and enable MPP
[Encountered Problem: Problem Phenomenon and Impact]
Executing SQL frequently reports errors, store ID is the decommissioned TiFlash, suspected to be cache issue.
Checking peer is empty,
region --jq=".regions | {id: .id, peer_stores: [.peers.store_id] | select(any(.==3918054)) }
Error as follows:
ERROR 1105 (HY000): other error for mpp stream: DB::Exception: Exchange receiver meet error : DB::Exception: get store failed: 2: invalid store ID 3918054, not found
Upgrading TiFlash from 5.4 to 6.1, the business relies on TiFlash, so TiFlash is prioritized for the upgrade. However, TiFlash can only be upgraded online and offline…