Skip to content

[Bug]: Table doesn't exist for Infinity #5190

Open
@qlanto224

Description

@qlanto224

Is there an existing issue for the same bug?

  • 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

Image

Image

Steps to reproduce

上传并解析

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions