Bug 59767
| Summary: | Патч 0001-afr_selfheal_do-return-EIO-if-inode-type-is-not-IA_I.patch ломает self-heal директорий | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Vladimir Avtsenov <vladimir.lsk.cool> |
| Component: | glusterfs11 | Assignee: | Vitaly Lipatov <lav> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | major | ||
| Priority: | P5 | CC: | amakeenk, antohami, cas, eltsovga, lav |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
Забыл добавить, что проблема затрагивает не только GlusterFS 9.X (на P10), но и GlusterFS 11.X (Sisyphus), т.к. этот патч присутствует во всех этих версиях GlusterFS. Спасибо за подробный разбор и записи воспроизведения! Исправление готово: https://git.altlinux.org/tasks/435696/ - glusterfs11 обновлён до 11.2-alt1; - патч 0001-afr_selfheal_do-return-EIO-if-inode-type-is-not-IA_I.patch удалён; glusterfs11 больше не собирается на i586 (в 11.2 нужны 64-битные атомарные операции liburcu), поэтому в то же задание добавлены fio, samba и scsitarget-utils с отключённым glusterfs на i586. Сценарий из бага проверен на двух нодах в контейнерах (volume с 64 каталогами и 256 файлами, затем add-brick replica 2): - на 11.1-alt2 все 73 каталога так и остаются в heal, в glustershd.log "TYPE mismatch 2 vs 1 (IA_IFREG)"; - на 11.2-alt1 heal проходит полностью за несколько секунд, "granular-entry-heal enable" выполняется без ошибок, содержимое брик совпадает. Задание ждёт подтверждения от мейнтейнеров fio и samba. glusterfs11-11.2-alt1 -> sisyphus: Tue Oct 06 2026 Vitaly Lipatov <lav@altlinux.ru> 11.2-alt1 - new version 11.2 - drop afr_selfheal_do patch breaking directory self-heal (closes: #59767) - build with libuserspace-rcu >= 0.15.7-alt2 (64-bit uatomic on i586) - fix Conflicts with glusterfs{8,9,10}-georeplication - move mount.glusterfs and umount.glusterfs to /usr/sbin - server: skip autoreqs from glusterd hook scripts (they run only for the configured integrations): drops hard deps on samba (/usr/sbin/smbd), dbus-tools (ganesha hook), openssh-clients/scp (geo-replication hook), policycoreutils, libselinux-utils, attr, which - server: skip autoreqs from control-cpu-load.sh/control-mem.sh (manual cgroup helpers): drops hard dep on /bin/systemctl - fix removal of the selinux hooks moved to add-brick/post - drop removal of /etc/init.d/glusterd (not installed anymore), use rm -v without -f |

Description
Vladimir Avtsenov 2026-07-08 17:43:28 MSK