部分索引自动消失,疑似 禁止索引的alist站点 和 自动更新索引 之间存在冲突
Please make sure of the following things
-
[X] I have read the documentation. 我已经阅读了文档。
-
[X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。
-
[X] I'm sure it's due to
AListand not something else(such as Network ,DependenciesorOperational). 我确定是AList的问题,而不是其他原因(例如网络,依赖或操作)。 -
[X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.28.0 群晖套件版
Driver used / 使用的存储驱动
本地存储 + SMB + Alist v3
Describe the bug / 问题描述
基于MySQL构建索引后,存在20w+条数据库记录,在MySQL中查看发现索引构建顺序为/A -> /B ->...... -> /FINAL,另外存在一个不允许被索引的 Alist v3 挂载 【/Xiaoya】。
在索引构建完毕后:
- 若【自动更新索引】开启,且索引的【忽略路径】中没有填写 Alist v3 存储,则一旦进行一个搜索,MySQL x_search_nodes 表项数会从 20w+ 锐减到 9w+,/FINAL 下所有文件搜不到。
- 若【自动更新索引】关闭,或索引的【忽略路径】中填写 Alist v3 存储,索引不会出错
另,【自动更新索引】相关:新增文件能够自动索引,但是还能够搜索到已删除的文件,刷新已删除文件的目录也没用。
Reproduction / 复现链接
无
Config / 配置
{ "force": false, "site_url": "", "cdn": "", "jwt_secret": "QoLOwocNR7", "token_expires_in": 48, "database": { "type": "mysql", "host": "nas.lan", "port": 3306, "user": "", "password": "", "name": "alist", "db_file": "/volume1/@appdata/alist3/data.db", "table_prefix": "x_", "ssl_mode": "" }, "scheme": { "address": "0.0.0.0", "http_port": 5244, "https_port": -1, "force_https": false, "cert_file": "", "key_file": "", "unix_file": "", "unix_file_perm": "" }, "temp_dir": "/volume1/@appdata/alist3/temp", "bleve_dir": "/volume1/@appdata/alist3/bleve", "log": { "enable": true, "name": "/volume1/@appdata/alist3/log/log.log", "max_size": 10, "max_backups": 5, "max_age": 28, "compress": false }, "delayed_start": 0, "max_connections": 0, "tls_insecure_skip_verify": false }
Logs / 日志
Thanks for opening your first issue here! Be sure to follow the issue template!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.