[Bug]: Table doesn't exist for `Infinity`
Is there an existing issue for the same bug?
- [x] I have checked the existing issues.
RAGFlow workspace code commit ID
#4163
RAGFlow image version
0.16.0
Other environment information
Actual behavior
2025-02-20 16:15:38,915 ERROR 19 (3022, "Table ragflow_78438612ee6c11ef96bf0242ac120006_615cf198ef3b11efa0980242ac120006 doesn't exist@src/main/query_context.cpp:226")
Traceback (most recent call last):
File "/ragflow/api/apps/chunk_app.py", line 61, in list_chunk
sres = settings.retrievaler.search(query, search.index_name(tenant_id), kb_ids, highlight=True)
File "<@beartype(rag.nlp.search.Dealer.search) at 0x7297b29252d0>", line 95, in search
File "/ragflow/rag/nlp/search.py", line 95, in search
res = self.dataStore.search(src, [], filters, [], orderBy, offset, limit, idx_names, kb_ids)
File "/ragflow/rag/utils/infinity_conn.py", line 322, in search
filter_cond = equivalent_condition_to_str(condition, db_instance.get_table(table_name))
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/utils.py", line 563, in wrapper
return func(*args, **kwargs)
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/db.py", line 113, in get_table
raise InfinityException(res.error_code, res.error_msg)
infinity.common.InfinityException: (3022, "Table ragflow_78438612ee6c11ef96bf0242ac120006_615cf198ef3b11efa0980242ac120006 doesn't exist@src/main/query_context.cpp:226")
2025-02-20 16:15:38,918 INFO 19 172.18.0.6 - - [20/Feb/2025 16:15:38] "POST /v1/chunk/list HTTP/1.1" 200 -
2025-02-20 16:15:41,226 INFO 3219 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2025-02-20T16:15:41.224+08:00", "boot_at": "2025-02-20T15:49:37.473+08:00", "pending": 0, "lag": 0, "done": 19, "failed": 0, "current": null}
2025-02-20 16:15:41,317 INFO 19 172.18.0.6 - - [20/Feb/2025 16:15:41] "GET /v1/user/info HTTP/1.1" 200 -
2025-02-20 16:15:41,331 INFO 19 172.18.0.6 - - [20/Feb/2025 16:15:41] "GET /v1/kb/detail?kb_id=e1530c7cee6c11ef9ca40242ac120006 HTTP/1.1" 200 -
2025-02-20 16:15:41,368 ERROR 19 (3022, "Table ragflow_78438612ee6c11ef96bf0242ac120006_615cf198ef3b11efa0980242ac120006 doesn't exist@src/main/query_context.cpp:226")
Traceback (most recent call last):
File "/ragflow/api/apps/chunk_app.py", line 61, in list_chunk
sres = settings.retrievaler.search(query, search.index_name(tenant_id), kb_ids, highlight=True)
File "<@beartype(rag.nlp.search.Dealer.search) at 0x7297b29252d0>", line 95, in search
File "/ragflow/rag/nlp/search.py", line 95, in search
res = self.dataStore.search(src, [], filters, [], orderBy, offset, limit, idx_names, kb_ids)
File "/ragflow/rag/utils/infinity_conn.py", line 322, in search
filter_cond = equivalent_condition_to_str(condition, db_instance.get_table(table_name))
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/utils.py", line 563, in wrapper
return func(*args, **kwargs)
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/db.py", line 113, in get_table
raise InfinityException(res.error_code, res.error_msg)
infinity.common.InfinityException: (3022, "Table ragflow_78438612ee6c11ef96bf0242ac120006_615cf198ef3b11efa0980242ac120006 doesn't exist@src/main/query_context.cpp:226")
Expected behavior
Steps to reproduce
上传并解析
Additional information
No response
Mybe it was not based on Infinity while parsing. Give it a try: redo parsing.
Mybe it was not based on Infinity while parsing. Give it a try: redo parsing.
经过多次尝试: 重新解析, 删除知识库并重新上传解析, 都会有这个异常.
但是, 我将搜索知识库全部删除后, 再重新建立上传解析同一个文档, 没有这个异常了
我也有这个问题,而且我无论用infinity还是elasticsearch都会有这个问题,只是报错的文案不一样
我也有这个问题。
同样的问题
同样的问题
同样的问题
can you share the log?
尝试删除了一个知识库,莫名其妙的又好了,尴尬
同样的问题
同样的问题
随便删除一个知识库再看看,我这样操作就好了
同样的问题
随便删除一个知识库再看看,我这样操作就好了
这个方法管用,删除一个知识库,这个错误就消失了
这个方法管用,删除一个知识库,这个错误就消失,但是过一段时间又会重复出现
I have found that there is no problem when there is only one knowledge base, but there is a problem when there are multiple knowledge bases @KevinHuSh
我又遇见了这个问题,请问有排期计划解决修复吗? @KevinHuSh
I am also experiencing this issue, v0.19.1