Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 扩容tiflash状态未知,一直提示错误信息

[TiDB Usage Environment] Production Environment
[TiDB Version] 5.4.3
[Reproduction Path]
[Encountered Problem: Problem Phenomenon and Impact]
When executing tiup cluster scale-out
to expand TiFlash, the status of the newly started node remains N/A. Checking the error log shows the following output:
[2023/04/28 17:58:56.784 +08:00] [ERROR] [<unknown>] ["SchemaSyncService:DB::SchemaSyncService::SchemaSyncService(DB::Context&)::<lambda()>: Sync schemas failed by DB::Exception: Wrong precision:0 \n stack : 0. bin/tiflash/tiflash(StackTrace::StackTrace()+0x16) [0x36d5536]\n1. bin/tiflash/tiflash(DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)+0x26) [0x36c9366]\n2. bin/tiflash/tiflash(DB::createDecimal(unsigned long, unsigned long)+0x308) [0x4e51e78]\n3. bin/tiflash/tiflash(std::enable_if<IsDecimalType<DB::DataTypeDecimal<DB::Decimal<int> > >, std::shared_ptr<DB::IDataType const> >::type DB::getDataTypeByColumnInfoBase<DB::DataTypeDecimal<DB::Decimal<int> >, false>(TiDB::ColumnInfo const&, DB::DataTypeDecimal<DB::Decimal<int> > const*)+0x19) [0x77a6609]\n4. bin/tiflash/tiflash(std::_Function_handler<std::shared_ptr<DB::IDataType const> (TiDB::ColumnInfo const&), std::_Bind<std::shared_ptr<DB::IDataType const> (*(std::_Placeholder<1>, DB::DataTypeDecimal<DB::Decimal<int> >*))(TiDB::ColumnInfo const&, DB::DataTypeDecimal<DB::Decimal<int> > const*)> >::_M_invoke(std::_Any_data const&, TiDB::ColumnInfo const&)+0x1b) [0x77a3cdb]\n5. bin/tiflash/tiflash(DB::TypeMapping::getDataType(TiDB::ColumnInfo const&)+0x7b) [0x77a225b]\n6. bin/tiflash/tiflash(DB::getDataTypeByColumnInfo(TiDB::ColumnInfo const&)+0x3e) [0x77a22ee]\n7. bin/tiflash/tiflash(DB::parseColumnsFromTableInfo[abi:cxx11](TiDB::TableInfo const&, Poco::Logger*)+0x18c) [0x7a7815c]\n8. bin/tiflash/tiflash(DB::createTableStmt[abi:cxx11](TiDB::DBInfo const&, TiDB::TableInfo const&, DB::SchemaNameMapper const&, Poco::Logger*)+0x5b) [0x7a7876b]\n9. bin/tiflash/tiflash(DB::SchemaBuilder<DB::SchemaGetter, DB::SchemaNameMapper>::applyCreatePhysicalTable(std::shared_ptr<TiDB::DBInfo>, std::shared_ptr<TiDB::TableInfo>)+0x48f) [0x7a7f5cf]\n10. bin/tiflash/tiflash(DB::SchemaBuilder<DB::SchemaGetter, DB::SchemaNameMapper>::applyCreateLogicalTable(std::shared_ptr<TiDB::DBInfo>, std::shared_ptr<TiDB::TableInfo>)+0x5c) [0x7a7fcfc]\n11. bin/tiflash/tiflash(DB::SchemaBuilder<DB::SchemaGetter, DB::SchemaNameMapper>::syncAllSchema()+0xd50) [0x7a93f90]\n12. bin/tiflash/tiflash(DB::TiDBSchemaSyncer<false>::syncSchemas(DB::Context&)+0x429) [0x7789aa9]\n13. bin/tiflash/tiflash(DB::SchemaSyncService::syncSchemas()+0x2f) [0x777899f]\n14. bin/tiflash/tiflash() [0x777b3d5]\n15. bin/tiflash/tiflash(DB::BackgroundProcessingPool::threadFunction()+0x947) [0x75d7867]\n16. bin/tiflash/tiflash() [0x8b11bef]\n17. /lib64/libpthread.so.0(+0x7dd5) [0x7fc21041fdd5]\n18. /lib64/libc.so.6(clone+0x6d) [0x7fc20fe46ead]\n"] [thread_id=21]
Does anyone have any ideas?
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]