changelog: describe the plan check as it ended up (new references only)

This commit is contained in:
Matysh
2026-07-28 22:54:00 +03:00
parent 3084472c75
commit 9b180c5917
2 changed files with 10 additions and 5 deletions
+5 -3
View File
@@ -23,9 +23,11 @@
(HP-1470-02).** It was not saved yet, so the server correctly considered it (HP-1470-02).** It was not saved yet, so the server correctly considered it
free — and the save then stored a url with no file behind it. The button is free — and the save then stored a url with no file behind it. The button is
disabled now, and, because two clients can do the same in either order, the disabled now, and, because two clients can do the same in either order, the
server checks every internal plan url against the disk before storing a server checks every internal plan url a configuration adds against the disk
configuration and refuses one that is missing. Urls that are not ours are left and refuses a new reference that is already broken. A url the stored
alone. configuration already carries is let through — a file can vanish from outside
Home Assistant, and refusing then would block the very edit that detaches it.
Urls that are not ours are left alone.
- **Uploads are bounded (HP-1470-01).** Nothing is deleted for being old — that - **Uploads are bounded (HP-1470-01).** Nothing is deleted for being old — that
cost real plans twice — so the limit sits where a decision is being made cost real plans twice — so the limit sits where a decision is being made
anyway: an upload is refused if the store would pass 256 MB or 200 plans anyway: an upload is refused if the store would pass 256 MB or 200 plans
+5 -2
View File
@@ -29,8 +29,11 @@
(HP-1470-02).** Он ещё не сохранён, поэтому сервер справедливо считал его (HP-1470-02).** Он ещё не сохранён, поэтому сервер справедливо считал его
свободным — а сохранение потом записывало ссылку, за которой нет файла. свободным — а сохранение потом записывало ссылку, за которой нет файла.
Кнопка заблокирована, и, поскольку два клиента могут сделать это в любом Кнопка заблокирована, и, поскольку два клиента могут сделать это в любом
порядке, сервер перед записью конфигурации сверяет каждую внутреннюю ссылку с порядке, сервер сверяет с диском каждую внутреннюю ссылку, которую
диском и отказывает, если файла нет. Чужие ссылки не трогаются. конфигурация добавляет, и отказывает, если файла нет. Ссылку, уже записанную
в конфигурации, он пропускает: файл может исчезнуть и мимо Home Assistant, а
отказ заблокировал бы ровно ту правку, которая его отцепляет. Чужие ссылки не
трогаются.
- **Загрузки ограничены (HP-1470-01).** По возрасту не удаляется ничего — это - **Загрузки ограничены (HP-1470-01).** По возрасту не удаляется ничего — это
дважды стоило настоящих планов, — поэтому предел стоит там, где решение и так дважды стоило настоящих планов, — поэтому предел стоит там, где решение и так
принимается: загрузка отклоняется, если хранилище перевалит за 256 МБ или 200 принимается: загрузка отклоняется, если хранилище перевалит за 256 МБ или 200