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

[Bug]: add_columns hang #2321

Closed
1 task done
yuzhichang opened this issue Dec 4, 2024 · 0 comments
Closed
1 task done

[Bug]: add_columns hang #2321

yuzhichang opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yuzhichang
Copy link
Member

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Version or Commit ID

v0.5.0-dev5

Other environment information

Image: infiniflow/infinity:v0.5.0-dev5

Actual behavior and How to reproduce it

  • Edit docker/.env, change DOC_ENGINE to infinity
  • Start docker-compose-base.yml
  • Create a knowledge base
  • Upload and parse a file
  • Edit conf/infinity_mappings.json to add a row difinition, for example "station_name": {"type": "varchar", "default": ""}
  • Restart ragflow-server. infinity_conn.py will hang at add_column
  • Restart ragflow-infinity container. It segfault:
 __  .__   __.  _______  __  .__   __.  __  .___________.____    ____ 
|  | |  \ |  | |   ____||  | |  \ |  | |  | |           |\   \  /   / 
|  | |   \|  | |  |__   |  | |   \|  | |  | `---|  |----` \   \/   /  
|  | |  . `  | |   __|  |  | |  . `  | |  |     |  |       \_    _/   
|  | |  |\   | |  |     |  | |  |\   | |  |     |  |         |  |     
|__| |__| \__| |__|     |__| |__| \__| |__|     |__|         |__|     
Release: 0.5.0 build on 2024-11-23 03:49.46 with RelWithDebInfo mode from branch: , commit-id: 94cb416891284017bf52f581fb8fe7e7df6f1ab9
Currently enabled SIMD support: f16c, sse2, avx, avx2
[info] Config file: /infinity_conf.toml
Infinity system configs: 
 - version: 0.5.0
 - timezone: UTC-8
 - cpu_limit: 16
 - server mode: standalone
 - server address: 0.0.0.0
 - peer server ip: 0.0.0.0
 - peer server port: 23850
 - postgres port: 5432
 - http port: 23820
 - rpc client port: 23817
 - connection pool size: 128
 - peer server connection pool size: 128
 - log_filename: infinity.log
 - log_dir: /var/infinity/log
 - log_file_path: /var/infinity/log/infinity.log
 - log_to_stdout: true
 - log_file_max_size: 100.00MB
 - log_file_rotate_count: 10
 - log_level: Info
 - persistence_dir: /var/infinity/persistence
 - persistence_file_size: 134217728
 - data_dir: /var/infinity/data
 - cleanup_interval: 1m
 - compact_interval: 2m
 - optimize_index_interval: 10s
 - memindex_capacity: 65536
 - storage_type: local
 - buffer_manager_size: 8.00GB
 - temp_dir: /var/infinity/tmp
 - memindex_memory_quota: 4.00GB
 - wal_dir: /var/infinity/wal
 - buffer_manager_size: 1.00GB
 - full_checkpoint_interval: 30s
 - delta_checkpoint_interval: 5s
 - delta_checkpoint_threshold: 64.00MB
 - flush_method_at_commit: FlushAtOnce
 - resource_dir: /var/infinity/resource
[16:58:07.673] [1] [info] ChangeServerRole from uninitialized to admin
[16:58:07.673] [1] [info] Start to initialize storage from un-init mode to admin
[16:58:07.673] [1] [info] Finish initializing storage from un-init mode to admin
API server(for Infinity-SDK) listen on 0.0.0.0: 23817, connection limit: 128
[16:58:07.678] [1] [info] Thrift server is started.
Peer server listen on 0.0.0.0: 23850, connection limit: 64
[16:58:07.681] [1] [info] Peer server is started.
Run 'psql -h 0.0.0.0 -p 5432' to connect to the server (SQL is only for test).
HTTP server listen on 0.0.0.0: 23820
[16:58:07.681] [1] [info] ChangeServerRole from admin to standalone
[16:58:07.681] [1] [info] Find temp wal file: /var/infinity/wal/wal.log
[16:58:07.681] [1] [info] Find wal file: /var/infinity/wal/wal.log.502
[16:58:07.681] [1] [info] Start Wal Replay
[16:58:07.681] [1] [info] Replay phase 1: find the max commit ts and catalog path
[16:58:07.681] [1] [info] Find checkpoint max commit ts: 502
[16:58:07.681] [1] [info] Replay phase 2: by the max commit ts, find the entries to replay
[16:58:07.681] [1] [info] Checkpoint found, replay the catalog
[16:58:07.681] [1] [info] Load base FULL catalog json from: /var/infinity/data/catalog/FULL.502.json
[16:58:07.682] [1] [info] Replay phase 3: replay 0 entries
[16:58:07.682] [1] [info] Latest txn commit_ts: 504, latest txn id: 0
[16:58:07.682] [1] [info] System start ts: 505
[16:58:07.682] [1] [info] Init compaction alg
[16:58:07.682] [1] [info] Add segment 0 to table ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 compaction algorithm. deprecate_ts: 18446744073709551615
[16:58:07.682] [1] [info] Add segment 0 to table my_table compaction algorithm. deprecate_ts: 18446744073709551615
[16:58:07.682] [1] [info] TxnManager is started.
[16:58:07.682] [1] [info] WAL manager is starting...
[16:58:07.682] [1] [info] Open wal file: /var/infinity/wal/wal.log
[16:58:07.682] [1] [info] WAL manager is started.
[16:58:07.682] [1] [info] Background processor is started.
[16:58:07.682] [1] [info] Compaction processor is started.
[16:58:07.682] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index q_vec_idx segment 0 MemIndex recovering from 1 block entries.
[16:58:07.692] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index q_vec_idx segment 0 MemIndex recovered.
[16:58:07.692] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_important_tks segment 0 MemIndex recovering from 1 block entries.
[16:58:07.893] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_important_tks segment 0 MemIndex recovered.
[16:58:07.893] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_docnm_kwd segment 0 MemIndex recovering from 1 block entries.
[16:58:08.094] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_docnm_kwd segment 0 MemIndex recovered.
[16:58:08.094] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_title_tks segment 0 MemIndex recovering from 1 block entries.
[16:58:08.295] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_title_tks segment 0 MemIndex recovered.
[16:58:08.295] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_name_kwd segment 0 MemIndex recovering from 1 block entries.
[16:58:08.496] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_name_kwd segment 0 MemIndex recovered.
[16:58:08.496] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_title_sm_tks segment 0 MemIndex recovering from 1 block entries.
[16:58:08.698] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_title_sm_tks segment 0 MemIndex recovered.
[16:58:08.699] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_important_kwd segment 0 MemIndex recovering from 1 block entries.
[16:58:08.901] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_important_kwd segment 0 MemIndex recovered.
[16:58:08.901] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_content_ltks segment 0 MemIndex recovering from 1 block entries.
[16:58:09.110] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_content_ltks segment 0 MemIndex recovered.
[16:58:09.110] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_content_sm_ltks segment 0 MemIndex recovering from 1 block entries.
[16:58:09.320] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_content_sm_ltks segment 0 MemIndex recovered.
[16:58:09.320] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_knowledge_graph_kwd segment 0 MemIndex recovering from 1 block entries.
[16:58:09.521] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_knowledge_graph_kwd segment 0 MemIndex recovered.
[16:58:09.521] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_entities_kwd segment 0 MemIndex recovering from 1 block entries.
[16:58:09.723] [1] [info] Table default_db.ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1 index text_idx_entities_kwd segment 0 MemIndex recovered.
[16:58:09.725] [215] [info] Do cleanup before force checkpoint
[16:58:09.725] [215] [info] Check deprecate of segment 0 in table ragflow_5a82d0d8b21211efbf23f4a80deb0ad1_60bdf1e4b21211ef81cdf4a80deb0ad1. check_ts: 505, drepcate_ts: 18446744073709551615. result: false
[16:58:09.725] [215] [info] Check deprecate of segment 0 in table my_table. check_ts: 505, drepcate_ts: 18446744073709551615. result: false
[16:58:09.725] [215] [critical] SubObjRc: obj_rc_ is 0, buffer: /var/infinity/data/Im04mnubic_db_default_db/TJSF7DQ13p_table_my_table/seg_0/blk_0/0.col
[16:58:09.726] [215] [critical] Error: SubObjRc: obj_rc_ is 0, buffer: /var/infinity/data/Im04mnubic_db_default_db/TJSF7DQ13p_table_my_table/seg_0/blk_0/0.col
[16:58:09.726] [215] [critical] 0, /usr/bin/infinity(+0x467a79) [0x55bd9a2e1a79]
[16:58:09.726] [215] [critical] 1, /usr/bin/infinity(+0x46861b) [0x55bd9a2e261b]
[16:58:09.726] [215] [critical] 2, /usr/bin/infinity(+0x5bf8d3) [0x55bd9a4398d3]
[16:58:09.726] [215] [critical] 3, /usr/bin/infinity(+0x74d041) [0x55bd9a5c7041]
[16:58:09.726] [215] [critical] 4, /usr/bin/infinity(+0x7527ff) [0x55bd9a5cc7ff]
[16:58:09.726] [215] [critical] 5, /usr/bin/infinity(+0x76da9f) [0x55bd9a5e7a9f]
[16:58:09.726] [215] [critical] 6, /usr/bin/infinity(+0x7cba38) [0x55bd9a645a38]
[16:58:09.726] [215] [critical] 7, /usr/bin/infinity(+0x7453cd) [0x55bd9a5bf3cd]
[16:58:09.726] [215] [critical] 8, /usr/bin/infinity(+0x58e363) [0x55bd9a408363]
[16:58:09.726] [215] [critical] 9, /usr/bin/infinity(+0x58cab7) [0x55bd9a406ab7]
[16:58:09.726] [215] [critical] 10, /usr/bin/infinity(+0x58d30a) [0x55bd9a40730a]
[16:58:09.726] [215] [critical] 11, /lib/x86_64-linux-gnu/libc.so.6(+0x891c4) [0x7fc3c1bf01c4]
[16:58:09.726] [215] [critical] 12, /lib/x86_64-linux-gnu/libc.so.6(__clone+0x40) [0x7fc3c1c6fac0]
libc++abi: terminating due to uncaught exception of type infinity::UnrecoverableException@infinity_exception: SubObjRc: obj_rc_ is 0, buffer: /var/infinity/data/Im04mnubic_db_default_db/TJSF7DQ13p_table_my_table/seg_0/blk_0/0.col@src/storage/buffer/buffer_obj.cpp:187
[16:58:09.726] [215] [critical] Error: SEGMENT FAULTS
[16:58:09.726] [215] [critical] 0, /usr/bin/infinity(+0x467a79) [0x55bd9a2e1a79]
[16:58:09.726] [215] [critical] 1, /usr/bin/infinity(+0x1fbec6) [0x55bd9a075ec6]
[16:58:09.726] [215] [critical] 2, /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7fc3c1ba3050]
[16:58:09.726] [215] [critical] 3, /lib/x86_64-linux-gnu/libc.so.6(abort+0x170) [0x7fc3c1b8d50f]
[16:58:09.726] [215] [critical] 4, /usr/bin/infinity(+0x17f3fb6) [0x55bd9b66dfb6]
[16:58:09.726] [215] [critical] 5, /usr/bin/infinity(+0x17f6f8b) [0x55bd9b670f8b]
[16:58:09.726] [215] [critical] 6, /usr/bin/infinity(+0x17f3b13) [0x55bd9b66db13]
[16:58:09.726] [215] [critical] 7, /usr/bin/infinity(+0x17f5b46) [0x55bd9b66fb46]
[16:58:09.726] [215] [critical] 8, /usr/bin/infinity(+0x17f5b30) [0x55bd9b66fb30]
[16:58:09.726] [215] [critical] 9, /usr/bin/infinity(+0x468909) [0x55bd9a2e2909]
[16:58:09.726] [215] [critical] 10, /usr/bin/infinity(+0x5bf8d3) [0x55bd9a4398d3]
[16:58:09.727] [215] [critical] 11, /usr/bin/infinity(+0x74d041) [0x55bd9a5c7041]
[16:58:09.727] [215] [critical] 12, /usr/bin/infinity(+0x7527ff) [0x55bd9a5cc7ff]
[16:58:09.727] [215] [critical] 13, /usr/bin/infinity(+0x76da9f) [0x55bd9a5e7a9f]
[16:58:09.727] [215] [critical] 14, /usr/bin/infinity(+0x7cba38) [0x55bd9a645a38]
[16:58:09.727] [215] [critical] 15, /usr/bin/infinity(+0x7453cd) [0x55bd9a5bf3cd]
[16:58:09.727] [215] [critical] 16, /usr/bin/infinity(+0x58e363) [0x55bd9a408363]
[16:58:09.727] [215] [critical] 17, /usr/bin/infinity(+0x58cab7) [0x55bd9a406ab7]
[16:58:09.727] [215] [critical] 18, /usr/bin/infinity(+0x58d30a) [0x55bd9a40730a]
[16:58:09.727] [215] [critical] 19, /lib/x86_64-linux-gnu/libc.so.6(+0x891c4) [0x7fc3c1bf01c4]
[16:58:09.727] [215] [critical] 20, /lib/x86_64-linux-gnu/libc.so.6(__clone+0x40) [0x7fc3c1c6fac0]
libc++abi: terminating due to uncaught exception of type infinity::UnrecoverableException@infinity_exception: SubObjRc: obj_rc_ is 0, buffer: /var/infinity/data/Im04mnubic_db_default_db/TJSF7DQ13p_table_my_table/seg_0/blk_0/0.col@src/storage/buffer/buffer_obj.cpp:187

address info:

addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 467a79
#0      infinity::PrintStacktrace@infinity_exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)     /infinity/src/common/utility/exception.cpp:35
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 46861b
#1      infinity::UnrecoverableError@infinity_exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*, unsigned int)       /infinity/src/common/utility/exception.cpp:74
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 5bf8d3
#2      infinity::BufferObj@buffer_obj::PickForCleanup()        /infinity/src/storage/buffer/buffer_obj.cpp:?
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 74d041
#3      infinity::BlockColumnEntry@block_column_entry::Cleanup(infinity::CleanupInfoTracer@cleanup_scanner*, bool)      /infinity/src/storage/meta/entry/block_column_entry.cpp:284
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 7527ff
#4      std::__1::__wrap_iter<std::__1::unique_ptr<infinity::BlockColumnEntry@block_column_entry, std::__1::default_delete<infinity::BlockColumnEntry@block_column_entry> >*>::operator++[abi:ne180100]()      /usr/local/include/c++/v1/__iterator/wrap_iter.h:53
#5      infinity::BlockEntry@block_entry::Cleanup(infinity::CleanupInfoTracer@cleanup_scanner*, bool)   /infinity/src/storage/meta/entry/block_entry.cpp:508
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 76da9f
#6      std::__1::__wrap_iter<std::__1::shared_ptr<infinity::BlockEntry@block_entry>*>::operator++[abi:ne180100]()      /usr/local/include/c++/v1/__iterator/wrap_iter.h:53
#7      infinity::SegmentEntry@segment_entry::Cleanup(infinity::CleanupInfoTracer@cleanup_scanner*, bool)       /infinity/src/storage/meta/entry/segment_entry.cpp:632
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 7cba38
#8      std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>* std::__1::__tree_next_iter[abi:ne180100]<std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>*, std::__1::__tree_node_base<void*>*>(std::__1::__tree_node_base<void*>*)        /usr/local/include/c++/v1/__tree:198
#9      std::__1::__tree_iterator<std::__1::__value_type<unsigned int, std::__1::shared_ptr<infinity::SegmentEntry@segment_entry> >, std::__1::__tree_node<std::__1::__value_type<unsigned int, std::__1::shared_ptr<infinity::SegmentEntry@segment_entry> >, void*>*, long>::operator++[abi:ne180100]()      /usr/local/include/c++/v1/__tree:751
#10     std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned int, std::__1::shared_ptr<infinity::SegmentEntry@segment_entry> >, std::__1::__tree_node<std::__1::__value_type<unsigned int, std::__1::shared_ptr<infinity::SegmentEntry@segment_entry> >, void*>*, long> >::operator++[abi:ne180100]()   /usr/local/include/c++/v1/map:874
#11     infinity::TableEntry@table_entry::Cleanup(infinity::CleanupInfoTracer@cleanup_scanner*, bool)   /infinity/src/storage/meta/entry/table_entry.cpp:1402
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 7453cd
#12     std::__1::enable_if<is_move_constructible<std::__1::__shared_weak_count*>::value&&is_move_assignable<std::__1::__shared_weak_count*>::value, void>::type std::__1::swap[abi:ne180100]<std::__1::__shared_weak_count*>(std::__1::__shared_weak_count*&, std::__1::__shared_weak_count*&)       /usr/local/include/c++/v1/__utility/swap.h:43
#13     std::__1::shared_ptr<infinity::BaseEntry@base_entry>::swap[abi:ne180100](std::__1::shared_ptr<infinity::BaseEntry@base_entry>&)/usr/local/include/c++/v1/__memory/shared_ptr.h:695
#14     std::__1::shared_ptr<infinity::BaseEntry@base_entry>::reset[abi:ne180100]()     /usr/local/include/c++/v1/__memory/shared_ptr.h:698
#15     infinity::CleanupScanner@cleanup_scanner::Cleanup(infinity::CleanupInfoTracer@cleanup_scanner*) &&      /infinity/src/storage/meta/cleanup_scanner.cpp:87
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 58e363
#16     std::__1::vector<std::__1::pair<std::__1::shared_ptr<infinity::BaseEntry@base_entry>, bool>, std::__1::allocator<std::__1::pair<std::__1::shared_ptr<infinity::BaseEntry@base_entry>, bool> > >::__destroy_vector::operator()[abi:ne180100]()  /usr/local/include/c++/v1/vector:489
#17     std::__1::vector<std::__1::pair<std::__1::shared_ptr<infinity::BaseEntry@base_entry>, bool>, std::__1::allocator<std::__1::pair<std::__1::shared_ptr<infinity::BaseEntry@base_entry>, bool> > >::~vector[abi:ne180100]()       /usr/local/include/c++/v1/vector:501
#18     infinity::CleanupScanner@cleanup_scanner::~CleanupScanner()     /infinity/src/storage/meta/cleanup_scanner.cppm:59
#19     infinity::CleanupTask@bg_task::Execute()        /infinity/src/storage/bg_task/bg_task.cpp:35
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 58cab7
#20     _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ne180100ILi0EEEPKc   /usr/local/include/c++/v1/string:954
#21     infinity::BGTaskProcessor@background_process::Process() /infinity/src/storage/background_process.cpp:87
addr2line --demangle --functions --inlines --exe=/usr/bin/infinity 58d30a
#22     std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >::reset[abi:ne180100](std::__1::__thread_struct*) /usr/local/include/c++/v1/__memory/unique_ptr.h:263
#23     std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >::~unique_ptr[abi:ne180100]()     /usr/local/include/c++/v1/__memory/unique_ptr.h:236
#24     std::__1::__tuple_leaf<0ul, std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, false>::~__tuple_leaf()     /usr/local/include/c++/v1/tuple:305
#25     std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0>::~tuple()   /usr/local/include/c++/v1/tuple:533
#26     std::__1::default_delete<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0> >::operator()[abi:ne180100](std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0>*) const   /usr/local/include/c++/v1/__memory/unique_ptr.h:66
#27     std::__1::unique_ptr<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0>, std::__1::default_delete<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0> > >::reset[abi:ne180100](std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0>*)  /usr/local/include/c++/v1/__memory/unique_ptr.h:266
#28     std::__1::unique_ptr<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0>, std::__1::default_delete<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0> > >::~unique_ptr[abi:ne180100]()        /usr/local/include/c++/v1/__memory/unique_ptr.h:236
#29     void* std::__1::__thread_proxy[abi:ne180100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, infinity::BGTaskProcessor@background_process::Start()::$_0> >(void*)       /usr/local/include/c++/v1/__thread/thread.h:204
addr2line --demangle --functions --inlines --exe=/lib/x86_64-linux-gnu/libc.so.6 891c4

Expected behavior

No response

Additional information

No response

@yuzhichang yuzhichang added the bug Something isn't working label Dec 4, 2024
JinHai-CN pushed a commit that referenced this issue Dec 11, 2024
### What problem does this PR solve?

Fix table lock bug when creating a read txn.

Issue link:#2321

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Test cases
vsian pushed a commit to vsian/infinity that referenced this issue Dec 13, 2024
### What problem does this PR solve?

Fix table lock bug when creating a read txn.

Issue link:infiniflow#2321

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Test cases
yuzhichang added a commit to infiniflow/ragflow that referenced this issue Dec 13, 2024
### What problem does this PR solve?

Migrate infinity at startup

#3809
infiniflow/infinity#2321

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
isthaison pushed a commit to isthaison/ragflow that referenced this issue Dec 13, 2024
### What problem does this PR solve?

Migrate infinity at startup

infiniflow#3809
infiniflow/infinity#2321

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
isthaison pushed a commit to isthaison/ragflow that referenced this issue Dec 13, 2024
### What problem does this PR solve?

Migrate infinity at startup

infiniflow#3809
infiniflow/infinity#2321

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
isthaison pushed a commit to isthaison/ragflow that referenced this issue Dec 13, 2024
### What problem does this PR solve?

Migrate infinity at startup

infiniflow#3809
infiniflow/infinity#2321

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
isthaison added a commit to isthaison/ragflow that referenced this issue Dec 13, 2024
commit 9b2ef62
Author: Zhichang Yu <[email protected]>
Date:   Fri Dec 13 17:31:15 2024 +0800

    Fix xinfo_groups returns unexpected result (infiniflow#4026)

    ### What problem does this PR solve?

    Fix xinfo_groups returns unexpected result. Close infiniflow#3545

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

commit 86507af
Author: Zhichang Yu <[email protected]>
Date:   Fri Dec 13 17:15:08 2024 +0800

    Set task progress on exception (infiniflow#4025)

    ### What problem does this PR solve?

    Set task progress on exception

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

commit 9363567
Author: balibabu <[email protected]>
Date:   Fri Dec 13 16:55:13 2024 +0800

    Feat: Reparse a file shall reuse existing chunks if possible infiniflow#3793 (infiniflow#4021)

    ### What problem does this PR solve?

    Feat: Reparse a file shall reuse existing chunks if possible infiniflow#3793

    ### Type of change

    - [x] New Feature (non-breaking change which adds functionality)

commit 1defe0b
Author: balibabu <[email protected]>
Date:   Fri Dec 13 14:43:24 2024 +0800

    Feat: Supports to debug single component in Agent. infiniflow#3993 (infiniflow#4007)

    ### What problem does this PR solve?

    Feat: Supports to debug single component in Agent. infiniflow#3993
    Fix: The github button on the login page is displayed incorrectly  infiniflow#4002

    ### Type of change

    - [x] New Feature (non-breaking change which adds functionality)

commit 0bca46a
Author: Zhichang Yu <[email protected]>
Date:   Fri Dec 13 13:43:56 2024 +0800

    Migrate infinity at startup (infiniflow#3858)

    ### What problem does this PR solve?

    Migrate infinity at startup

    infiniflow#3809
    infiniflow/infinity#2321

    ### Type of change

    - [x] New Feature (non-breaking change which adds functionality)

commit 1ecb687
Author: liuhua <[email protected]>
Date:   Fri Dec 13 10:25:52 2024 +0800

    Fix bugs in agent api and update api document (infiniflow#3996)

    ### What problem does this PR solve?

    Fix bugs in agent api and update api document

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)
    - [x] New Feature (non-breaking change which adds functionality)

    ---------

    Co-authored-by: liuhua <[email protected]>

commit 68d46b2
Author: Luo Pan <[email protected]>
Date:   Fri Dec 13 08:50:58 2024 +0800

    Fix bug in hierarchical_merge function (infiniflow#4006)

    ### What problem does this PR solve?

    Fix hierarchical_merge function. From idx vs. actual value to actual
    value vs. actual value.
    Related issue infiniflow#4003

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

    Co-authored-by: luopan <[email protected]>

commit 7559bbd
Author: Kevin Hu <[email protected]>
Date:   Fri Dec 13 08:50:32 2024 +0800

    Component debugging funcionality. (infiniflow#4012)

    ### What problem does this PR solve?

    infiniflow#3993
    ### Type of change

    - [x] New Feature (non-breaking change which adds functionality)

commit 275b5d1
Author: Jin Hai <[email protected]>
Date:   Thu Dec 12 20:34:46 2024 +0800

    Fix json file parse (infiniflow#4004)

    ### What problem does this PR solve?

    Fix json file parsing

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

    ---------

    Signed-off-by: jinhai <[email protected]>

commit 9ae81b4
Author: writinwaters <[email protected]>
Date:   Thu Dec 12 19:46:53 2024 +0800

    Updated UI (infiniflow#4011)

    ### What problem does this PR solve?

    ### Type of change

    - [x] Documentation Update

commit d6c74ff
Author: so95 <[email protected]>
Date:   Thu Dec 12 18:26:44 2024 +0700

    Add mssql support (infiniflow#3985)

    some thing
    -  execsql  add connection mssql
    - fix bug duckduckgo-search rate limit
    - update typo vi res

    ---------

    Co-authored-by: Kevin Hu <[email protected]>

commit e8d7410
Author: Roccat <[email protected]>
Date:   Thu Dec 12 19:00:34 2024 +0800

    Fix: Completion AttributeError: 'list' object has no attribute 'get' (infiniflow#3999)

    ### What problem does this PR solve?

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

    Co-authored-by: [email protected] <[email protected]>

commit c8b1a56
Author: Zhichang Yu <[email protected]>
Date:   Thu Dec 12 17:47:39 2024 +0800

    Replaced md5 with xxhash64 for chunk id (infiniflow#4009)

    ### What problem does this PR solve?

    Replaced md5 with xxhash64 for chunk id

    ### Type of change

    - [x] Refactoring

commit 301f958
Author: Zhichang Yu <[email protected]>
Date:   Thu Dec 12 16:38:03 2024 +0800

    Try to reuse existing chunks (infiniflow#3983)

    ### What problem does this PR solve?

    Try to reuse existing chunks. Close infiniflow#3793
    ### Type of change

    - [x] New Feature (non-breaking change which adds functionality)

commit 835fd7a
Author: writinwaters <[email protected]>
Date:   Thu Dec 12 11:45:59 2024 +0800

    Updated RAGFlow edition descriptions (infiniflow#4001)

    ### What problem does this PR solve?

    ### Type of change

    - [x] Documentation Update

commit bb8f97c
Author: writinwaters <[email protected]>
Date:   Thu Dec 12 09:57:52 2024 +0800

    UI updates + RAGFlow image description (infiniflow#3995)

    ### What problem does this PR solve?

    ### Type of change

    - [x] Documentation Update

commit 6d19294
Author: Kevin Hu <[email protected]>
Date:   Wed Dec 11 19:23:59 2024 +0800

    Support debug components. (infiniflow#3994)

    ### What problem does this PR solve?

    infiniflow#3993

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

commit f61c276
Author: Jin Hai <[email protected]>
Date:   Wed Dec 11 18:39:09 2024 +0800

    Update comment (infiniflow#3981)

    ### What problem does this PR solve?

    _Briefly describe what this PR aims to solve. Include background context
    that will help reviewers understand the purpose of the PR._

    ### Type of change

    - [x] Documentation Update

    ---------

    Signed-off-by: Jin Hai <[email protected]>
    Co-authored-by: writinwaters <[email protected]>

commit 409acf0
Author: balibabu <[email protected]>
Date:   Wed Dec 11 16:29:17 2024 +0800

    Fix:  Fixed the issue where two consecutive indexes were displayed incorrectly infiniflow#3839 (infiniflow#3988)

    ### What problem does this PR solve?

    Fix: Fixed the issue where two consecutive indexes were displayed
    incorrectly infiniflow#3839

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

commit 74c6b21
Author: liuhua <[email protected]>
Date:   Wed Dec 11 12:38:57 2024 +0800

    Update api documents (infiniflow#3979)

    ### What problem does this PR solve?

    Update api documents

    ### Type of change

    - [x] Documentation Update

    Co-authored-by: liuhua <[email protected]>

commit beeacd3
Author: Kevin Hu <[email protected]>
Date:   Wed Dec 11 11:44:59 2024 +0800

    Fix exec sql exception issue. (infiniflow#3982)

    ### What problem does this PR solve?
    infiniflow#3978

    ### Type of change

    - [x] Bug Fix (non-breaking change which fixes an issue)

commit 95259af
Author: so95 <[email protected]>
Date:   Wed Dec 11 10:12:57 2024 +0700

    update typo vietnamese (infiniflow#3973)

    update typo vietnamese

    ### Type of change
    - [x] Refactoring

    ---------

    Co-authored-by: Yingfeng <[email protected]>
    Co-authored-by: Jin Hai <[email protected]>
    Co-authored-by: bill <[email protected]>

commit 8554550
Author: Scott Davidson <[email protected]>
Date:   Wed Dec 11 03:10:33 2024 +0000

    Disable SQL DB binlog in Helm chart (infiniflow#3976)

    ### What problem does this PR solve?

    The initial Helm chart implementation added in infiniflow#3815 suffers from an
    issue where the 5GB data volume for the SQL DB is filled up with
    [binlog](https://dev.mysql.com/doc/refman/8.4/en/binary-log.html) files
    after just a few days. Since the app uses a non-replicated SQL DB config
    I think it makes sense to disable the binlog in the SQL DB container.
    This is achieved by simply adding the required argument to the container
    startup command.

    ### Type of change

    - [X] Bug Fix (non-breaking change which fixes an issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants