TiDBv6.5.0 执行创建副本命令后,tiflash进程不断重启,是什么原因呢?

你描述的问题流程没问题。
1.的具体问题就是tiflash副本不可用,重新创建副本也不可能用。而且这里就发现了tiflash在不断重启。
2.是缩容了所有节点
4.是两个节点都有报错。

我也重新缩容tiflash,又扩容,没有给表设置tiflash副本的时候tiflash还好好的,测试了单表加1副本,有一个tiflash节点就开始不断重启了,不过另一个tiflash节点没有重启。
表的副本是不可用状态:
mysql> SELECT * FROM information_schema.tiflash_replica;
±-------------±-----------±---------±--------------±----------------±----------±---------+
| TABLE_SCHEMA | TABLE_NAME | TABLE_ID | REPLICA_COUNT | LOCATION_LABELS | AVAILABLE | PROGRESS |
±-------------±-----------±---------±--------------±----------------±----------±---------+
| test | t1 | 687 | 1 | | 0 | 0 |
±-------------±-----------±---------±--------------±----------------±----------±---------+
1 row in set (0.04 sec)
重启的tiflash节点有报错:
[2023/01/06 09:51:19.898 +08:00] [ERROR] [BaseDaemon.cpp:377] [########################################] [source=BaseDaemon] [thread_id=22]
[2023/01/06 09:51:19.898 +08:00] [ERROR] [BaseDaemon.cpp:378] [“(from thread 21) Received signal Illegal instruction(4).”] [source=BaseDaemon] [thread_id=22]
[2023/01/06 09:51:19.899 +08:00] [ERROR] [BaseDaemon.cpp:473] [“Illegal operand.”] [source=BaseDaemon] [thread_id=22]
[2023/01/06 09:51:23.441 +08:00] [ERROR] [BaseDaemon.cpp:570] [“\n 0x61214f1\tfaultSignalHandler(int, siginfo_t*, void*) [tiflash+101848305]\n \tlibs/libdaemon/src/BaseDaemon.cpp:221\n 0x7fedf85d2070\t [libc.so.6+266352]\n 0x682303b\tDB::countBytesInFilter(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul> const&) [tiflash+109195323]\n \tdbms/src/Columns/ColumnsCommon.cpp:66\n 0x16d4d10\tDB::DM::DMVersionFilterBlockInputStream<1>::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool) [tiflash+23940368]\n \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp:373\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 0x7fedf99fbe28\tengine_store_ffi::$LT$impl$u20$engine_store_ffi…interfaces…root…DB…EngineStoreServerHelper$GT$::pre_handle_snapshot::h14b79dee0dc709dc [libtiflash_proxy.so+17415720]\n 0x7fedf99f3899\tengine_store_ffi::observer::pre_handle_snapshot_impl::ha6024895a135c813 [libtiflash_proxy.so+17381529]\n 0x7fedf99e7236\tyatp::task::future::RawTask$LT$F$GT$::poll::haa9f3b11a91f3b25 [libtiflash_proxy.so+17330742]\n 0x7fedfb7f59b3\t$LT$yatp…task…future…Runner$u20$as$u20$yatp…pool…runner…Runner$GT$::handle::h3ec77eaab16f0540 [libtiflash_proxy.so+48847283]\n 0x7fedfb7e820c\tstd::sys_common::backtrace::__rust_begin_short_backtrace::h2dafe5d145aa6fe4 [libtiflash_proxy.so+48792076]\n 0x7fedfb7e8ccc\tcore::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h8730f42d18399d62 [libtiflash_proxy.so+48794828]\n 0x7fedfaf63375\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 0x7fedf861c4ca\t [libc.so.6+570570]”] [source=BaseDaemon] [thread_id=22]

我查看了tiflash节点的数据目录,发现没有重启的节点上没有这个表的文件夹
$ ll /db/tidb-data/tiflash-9900/data/
total 0
drwxr-xr-x 2 tidb tidb 6 Jan 6 09:33 system
不断重启的节点有:
$ ll /db/tidb-data/tiflash-9900/data/
total 0
drwxr-xr-x 2 tidb tidb 6 Jan 6 09:33 system
drwxr-xr-x 3 tidb tidb 20 Jan 6 09:39 t_687

集群当前状态: