Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAP: failed to get deltamerge #8404

Open
CalvinNeo opened this issue Nov 21, 2023 · 0 comments
Open

FAP: failed to get deltamerge #8404

CalvinNeo opened this issue Nov 21, 2023 · 0 comments

Comments

@CalvinNeo
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

[2023/11/21 14:40:05.110 +00:00] [ERROR] [Exception.cpp:90] ["Failed when try to restore from checkpoint region_id=7177 new_peer_id=6307568 Can't get storage engine keyspace_id=4294967295 table_id=173: Code: 49, e.displayText() = DB::Exception: Can't get storage engine keyspace_id=4294967295 table_id=173, e.what() = DB::Exception, Stack trace:\n\n\n  0x56382240f0a3\tStackTrace::StackTrace() [tiflash+34316451]\n                \tdbms/src/Common/StackTrace.cpp:23\n  0x56382933c573\tDB::Exception::Exception<unsigned int&, long&>(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned int&, long&) [tiflash+150893939]\n                \tdbms/src/Common/Exception.h:46\n  0x56382933a1bd\tDB::FastAddPeerImplTransform(DB::TMTContext&, unsigned long, unsigned long, std::__1::tuple<std::__1::shared_ptr<DB::CheckpointInfo>, std::__1::shared_ptr<DB::Region>, raft_serverpb::RaftApplyState, raft_serverpb::RegionLocalState>&&) [tiflash+150884797]\n                \tdbms/src/Storages/KVStore/MultiRaft/Disagg/FastAddPeer.cpp:291\n  0x56382933a504\tDB::FastAddPeerImpl(DB::TMTContext&, DB::TiFlashRaftProxyHelper*, unsigned long, unsigned long) [tiflash+150885636]\n                \tdbms/src/Storages/KVStore/MultiRaft/Disagg/FastAddPeer.cpp:356\n  0x56382933c2d1\tstd::__1::__function::__func<FastAddPeer::$_19, std::__1::allocator<FastAddPeer::$_19>, DB::FastAddPeerRes ()>::operator()() [tiflash+150893265]\n                \tdbms/src/Storages/KVStore/MultiRaft/Disagg/FastAddPeer.cpp:449\n  0x56382933dfa8\tstd::__1::__packaged_task_func<std::__1::function<DB::FastAddPeerRes ()>, std::__1::allocator<std::__1::function<DB::FastAddPeerRes ()>>, DB::FastAddPeerRes ()>::operator()() [tiflash+150900648]\n                \t/usr/local/bin/../include/c++/v1/__functional/function.h:512\n  0x56382933e355\tstd::__1::packaged_task<DB::FastAddPeerRes ()>::operator()() [tiflash+150901589]\n                \t/usr/local/bin/../include/c++/v1/future:1876\n  0x5638224bab22\tDB::ThreadPoolImpl<DB::ThreadFromGlobalPoolImpl<false>>::worker(std::__1::__list_iterator<DB::ThreadFromGlobalPoolImpl<false>, void*>) [tiflash+35019554]\n                \t/usr/local/bin/../include/c++/v1/__functional/function.h:512\n  0x5638224bdc33\tstd::__1::__function::__func<DB::ThreadFromGlobalPoolImpl<false>::ThreadFromGlobalPoolImpl<bool DB::ThreadPoolImpl<DB::ThreadFromGlobalPoolImpl<false>>::scheduleImpl<bool>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(bool&&)::'lambda'(), std::__1::allocator<DB::ThreadFromGlobalPoolImpl<false>::ThreadFromGlobalPoolImpl<bool DB::ThreadPoolImpl<DB::ThreadFromGlobalPoolImpl<false>>::scheduleImpl<bool>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(bool&&)::'lambda'()>, void ()>::operator()() [tiflash+35032115]\n                \tdbms/src/Common/UniThreadPool.cpp:160\n  0x5638224b96f2\tDB::ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) [tiflash+35014386]\n                \t/usr/local/bin/../include/c++/v1/__functional/function.h:512\n  0x5638224bbb75\tvoid* std::__1::__thread_proxy[abi:v15007]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void DB::ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) [tiflash+35023733]\n                \tdbms/src/Common/UniThreadPool.cpp:160\n  0x7fd4a28a1609\tstart_thread [libpthread.so.0+34313]\n                \t/build/glibc-BHL3KM/glibc-2.31/nptl/pthread_create.c:477\n  0x7fd4a26e6133\tclone [libc.so.6+1175859]\n                \t/build/glibc-BHL3KM/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95"] [source=FastAddPeerImpl] [thread_id=45]

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants