tidbv6.5.0从一个集群迁移数据到另一个集群,tiflash服务报错:[ERROR] [Exception.cpp:89] ["Code: 49, e.displayText() = DB::Exception: invalid flag 83 in write cf

【TiDB 使用环境】生产环境
【TiDB 版本】v6.5.0
【操作系统】openEuler 22.03 LTS SP1/SP3
【部署方式】机器混合部署(10TSSD硬盘,256G内内存,32核物理CPU)

【集群数据量】400GB
【集群节点数】18(6tidb,3pd,6tikv,3flash)
【问题复现路径】扩容tiflash,后增加表tiflash副本,ALTER TABLE cztycdb.pdc1_dwv_out_order SET TIFLASH REPLICA 1;
【遇到的问题:问题现象及影响】
执行,ALTER TABLE cztycdb.pdc1_dwv_out_order SET TIFLASH REPLICA 1;后tiflash出现disconnected,之后down,

【资源配置】进入到 TiDB Dashboard -集群信息 (Cluster Info) -主机(Hosts) 截图此页面

【复制黏贴 ERROR 报错的日志】
[2025/07/21 15:18:49.249 +08:00] [ERROR] [Exception.cpp:89] [“Code: 49, e.displayText() = DB::Exception: invalid flag 83 in write cf: physical_table_id=452: (while preHandleSnapshot region_id=223529, index=52, term=9), e.what() = DB::Exception, Stack trace:\n\n\n 0x1721fce\tDB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) [tiflash+24256462]\n \tdbms/src/Common/Exception.h:46\n 0x6b04d04\tDB::RegionCFDataBaseDB::RegionWriteCFDataTrait::insert(DB::StringObject&&, DB::StringObject&&) [tiflash+112217348]\n \tdbms/src/Storages/Transaction/RegionCFDataBase.cpp:46\n 0x6a912db\tDB::DM::SSTFilesToBlockInputStream::read() [tiflash+111743707]\n \tdbms/src/Storages/DeltaMerge/SSTFilesToBlockInputStream.cpp:137\n 0x6969795\tDB::DM::readNextBlock(std::__1::shared_ptrDB::IBlockInputStream const&) [tiflash+110532501]\n \tdbms/src/Storages/DeltaMerge/DeltaMergeHelpers.h:253\n 0x6a93f3c\tDB::DM::PKSquashingBlockInputStream::read() [tiflash+111755068]\n \tdbms/src/Storages/DeltaMerge/PKSquashingBlockInputStream.h:78\n 0x6969795\tDB::DM::readNextBlock(std::__1::shared_ptrDB::IBlockInputStream const&) [tiflash+110532501]\n \tdbms/src/Storages/DeltaMerge/DeltaMergeHelpers.h:253\n 0x16d51e5\tDB::DM::DMVersionFilterBlockInputStream<1>::initNextBlock() [tiflash+23941605]\n \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.h:137\n 0x16d4a1b\tDB::DM::DMVersionFilterBlockInputStream<1>::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool) [tiflash+23939611]\n \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp:323\n 0x6a93168\tDB::DM::BoundedSSTFilesToBlockInputStream::read() [tiflash+111751528]\n \tdbms/src/Storages/DeltaMerge/SSTFilesToBlockInputStream.cpp:307\n 0x16d8a44\tDB::DM::SSTFilesToDTFilesOutputStream<std::__1::shared_ptrDB::DM::BoundedSSTFilesToBlockInputStream >::write() [tiflash+23956036]\n \tdbms/src/Storages/DeltaMerge/SSTFilesToDTFilesOutputStream.cpp:200\n 0x6a89c8f\tDB::KVStore::preHandleSSTsToDTFiles(std::__1::shared_ptrDB::Region, DB::SSTViewVec, unsigned long, unsigned long, DB::DM::FileConvertJobType, DB::TMTContext&) [tiflash+111713423]\n \tdbms/src/Storages/Transaction/ApplySnapshot.cpp:360\n 0x6a89364\tDB::KVStore::preHandleSnapshotToFiles(std::__1::shared_ptrDB::Region, DB::SSTViewVec, unsigned long, unsigned long, DB::TMTContext&) [tiflash+111711076]\n \tdbms/src/Storages/Transaction/ApplySnapshot.cpp:275\n 0x6ae4666\tPreHandleSnapshot [tiflash+112084582]\n \tdbms/src/Storages/Transaction/ProxyFFI.cpp:388\n 0x7fe5cd1a9e28\tengine_store_ffi::$LT$impl$u20$engine_store_ffi…interfaces…root…DB…EngineStoreServerHelper$GT$::pre_handle_snapshot::h14b79dee0dc709dc [libtiflash_proxy.so+17415720]\n 0x7fe5cd1a1899\tengine_store_ffi::observer::pre_handle_snapshot_impl::ha6024895a135c813 [libtiflash_proxy.so+17381529]\n 0x7fe5cd195236\tyatp::task::future::RawTask$LT$F$GT$::poll::haa9f3b11a91f3b25 [libtiflash_proxy.so+17330742]\n 0x7fe5cefa39b3\t$LT$yatp…task…future…Runner$u20$as$u20$yatp…pool…runner…Runner$GT$::handle::h3ec77eaab16f0540 [libtiflash_proxy.so+48847283]\n 0x7fe5cef9620c\tstd::sys_common::backtrace::__rust_begin_short_backtrace::h2dafe5d145aa6fe4 [libtiflash_proxy.so+48792076]\n 0x7fe5cef96ccc\tcore::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h8730f42d18399d62 [libtiflash_proxy.so+48794828]\n 0x7fe5ce711375\tstd::sys::unix::thread::thread::new::thread_start::hd2791a9cabec1fda [libtiflash_proxy.so+39859061]\n \t/rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/sys/unix/thread.rs:108\n 0x7fe5cbdcf56a\t [libc.so.6+570730]\n 0x7fe5cbe51ac0\t [libc.so.6+1104576]”] [source=“DB::RawCppPtr DB::PreHandleSnapshot(DB::EngineStoreServerWrap *, DB::BaseBuffView, uint64_t, DB::SSTViewVec, uint64_t, uint64_t)”] [thread_id=151]
【其他附件:截图/日志/监控】

看上去是已知问题,可以跟一下这个issue