Hi Team, we deleted all the data and reindexed one...
# community-help
b
Hi Team, we deleted all the data and reindexed one collection with just 30k documents. when ever we try performing any search or filter or load data in UI. Typesense is getting crashed. Below is the stack trace and services are running fine when no action is performed on UI. E20240711 015810.271502 60068 backward.hpp:4200] Stack trace (most recent call last) in thread 60068: E20240711 015810.271590 60068 backward.hpp:4200] #12 Object "", at 0xffffffffffffffff, in E20240711 015810.271610 60068 backward.hpp:4200] #11 Object "/usr/lib64/libc.so.6", at 0x7fb427b0ecbf, in __clone3 E20240711 015810.271621 60068 backward.hpp:4200] #10 Object "/usr/lib64/libc.so.6", at 0x7fb427a89c11, in start_thread E20240711 015810.271634 60068 backward.hpp:4200] #9 Object "/usr/bin/typesense-server", at 0x5582c45f7843, in execute_native_thread_routine E20240711 015810.271646 60068 backward.hpp:4200] #8 | Source "include/threadpool.h", line 57, in operator() E20240711 015810.271658 60068 backward.hpp:4200] Source "/usr/include/c++/10/future", line 1592, in ThreadPool [0x5582c1ad7b1c] E20240711 015810.271668 60068 backward.hpp:4200] #7 | Source "/usr/include/c++/10/future", line 1459, in _M_set_result E20240711 015810.271684 60068 backward.hpp:4200] | Source "/usr/include/c++/10/future", line 412, in call_once<void (std: future base State baseV2:*)(std:function&lt;stdunique ptr&lt;std future base:_Result_base, std: future base Result base:_Deleter>()>*, bool*), std: future base:_State_baseV2*, std:function&lt;stdunique ptr&lt;std future base:_Result_base, std: future base Result base:_Deleter>()>*, bool*> E20240711 015810.271695 60068 backward.hpp:4200] | Source "/usr/include/c++/10/mutex", line 729, in __gthread_once E20240711 015810.271708 60068 backward.hpp:4200] Source "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h", line 700, in _M_run [0x5582c1c88a73] E20240711 015810.271718 60068 backward.hpp:4200] #6 Object "/usr/lib64/libc.so.6", at 0x7fb427a8ee97, in __pthread_once_slow E20240711 015810.271729 60068 backward.hpp:4200] #5 | Source "/usr/include/c++/10/future", line 572, in operator() E20240711 015810.271739 60068 backward.hpp:4200] Source "/usr/include/c++/10/bits/std_function.h", line 622, in _M_do_set [0x5582c1ad6d32] E20240711 015810.271754 60068 backward.hpp:4200] #4 | Source "/usr/include/c++/10/bits/std_function.h", line 292, in __invoke_r<std:unique ptr&lt;std future base:_Result_base, std: future base Result base:_Deleter>, std: future base Task setter&lt;stdunique ptr&lt;std future base:_Result<void>, std: future base Result base:_Deleter>, std: future base:_Task_state<_Fn, _Alloc, _Res(_Args ...)>: M run&lt;std Bind&lt;HttpServer:process_request(const std::shared_ptr<http_req>&, const std::shared_ptr<http_res>&, route_path*, const h2o_custom_req_handler_t*, bool)::<lambda()>()>, std::allocator<int>, void, {}>::<lambda()>, void>&> E20240711 015810.271768 60068 backward.hpp:4200] | Source "/usr/include/c++/10/bits/invoke.h", line 115, in __invoke_impl<std:unique ptr&lt;std future base:_Result<void>, std: future base Result base:_Deleter>, std: future base Task setter&lt;stdunique ptr&lt;std future base:_Result<void>, std: future base Result base:_Deleter>, std: future base:_Task_state<_Fn, _Alloc, _Res(_Args ...)>: M run&lt;std Bind&lt;HttpServer:process_request(const std::shared_ptr<http_req>&, const std::shared_ptr<http_res>&, route_path*, const h2o_custom_req_handler_t*, bool)::<lambda()>()>, std::allocator<int>, void, {}>::<lambda()>, void>&> E20240711 015810.271791 60068 backward.hpp:4200] | Source "/usr/include/c++/10/bits/invoke.h", line 60, in operator() E20240711 015810.271804 60068 backward.hpp:4200] | Source "/usr/include/c++/10/future", line 1397, in operator() E20240711 015810.271819 60068 backward.hpp:4200] | Source "/usr/include/c++/10/future", line 1456, in __invoke_r<void, std: Bind&lt;HttpServer:process_request(const std::shared_ptr<http_req>&, const std::shared_ptr<http_res>&, route_path*, const h2o_custom_req_handler_t*, bool)::<lambda()>()>&> E20240711 015810.271833 60068 backward.hpp:4200] | Source "/usr/include/c++/10/bits/invoke.h", line 110, in __invoke_impl<void, std: Bind&lt;HttpServer:process_request(const std::shared_ptr<http_req>&, const std::shared_ptr<http_res>&, route_path*, const h2o_custom_req_handler_t*, bool)::<lambda()>()>&> E20240711 015810.271847 60068 backward.hpp:4200] | Source "/usr/include/c++/10/bits/invoke.h", line 60, in operator()<> E20240711 015810.271862 60068 backward.hpp:4200] | Source "/usr/include/c++/10/functional", line 499, in __call<void> E20240711 015810.271876 60068 backward.hpp:4200] | Source "/usr/include/c++/10/functional", line 416, in __invoke<HttpServer::process_request(const std::shared_ptr<http_req>&, const std::shared_ptr<http_res>&, route_path*, const h2o_custom_req_handler_t*, bool)::<lambda()>&> E20240711 015810.271890 60068 backward.hpp:4200] | Source "/usr/include/c++/10/bits/invoke.h", line 95, in __invoke_impl<void, HttpServer::process_request(const std::shared_ptr<http_req>&, const std::shared_ptr<http_res>&, route_path*, const h2o_custom_req_handler_t*, bool)::<lambda()>&> E20240711 015810.271906 60068 backward.hpp:4200] | Source "/usr/include/c++/10/bits/invoke.h", line 60, in operator() E20240711 015810.271920 60068 backward.hpp:4200] Source "src/http_server.cpp", line 706, in _M_invoke [0x5582c1c8a993] E20240711 015810.271934 60068 backward.hpp:4200] #3 Source "src/core_api.cpp", line 737, in post_multi_search [0x5582c1c04e7e] E20240711 015810.271948 60068 backward.hpp:4200] #2 Source "src/collection_manager.cpp", line 1888, in do_search [0x5582c1ba9aa2] E20240711 015810.271963 60068 backward.hpp:4200] #1 Source "src/collection.cpp", line 2237, in search [0x5582c1b2db4b] E20240711 015810.271977 60068 backward.hpp:4200] #0 | Source "src/collection.cpp", line 39, in ~filter_node_t E20240711 015810.271991 60068 backward.hpp:4200] Source "include/filter.h", line 98, in ~sort_fields_guard_t [0x5582c1b5f765] E20240711 015814.673296 60068 typesense_server.cpp:137] Typesense 26.0 is terminating abruptly. Log file created at: 2024/07/11 015815