### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.1 ### Cloud or Self Hosted Cloud, Self Hosted (Docker) ### Steps to reproduce This is a very dangerous bug.😭 We lost all the test data :( 1. upload file in knowledge <img width="2908" height="912" alt="Image" src="https://github.com/user-attachments/assets/f52bc39e-eb63-454c-bf3e-275f6e3d50e2" /> 2. add chunk use Web or API <img width="918" height="782" alt="Image" src="https://github.com/user-attachments/assets/84f5c0ab-4ae8-41e2-b214-c8ef5c985837" /> 3. Save Chunking Setting(Whether modified or not) <img width="1374" height="1582" alt="Image" src="https://github.com/user-attachments/assets/e559b85b-1138-46e3-b943-d82588057999" /> <img width="2060" height="1792" alt="Image" src="https://github.com/user-attachments/assets/64af5b63-c80a-4067-b3f5-3773bf5b041c" /> 4. Previously added chunk will lost <img width="956" height="700" alt="Image" src="https://github.com/user-attachments/assets/4603c11d-7521-4080-bbbc-5aacecd10270" /> https://github.com/user-attachments/assets/b223f2ec-25e9-43c8-a4c5-094ab03e529a ### ✔️ Expected Behavior Previously added chunk no lost. ### ❌ Actual Behavior _No response_