You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added fallback from fallocate to ftruncate when the underlying filesystem does not support fallocate (errno 95 / EOPNOTSUPP), so database file creation no longer fails on those filesystems.
ftruncate() creates "sparse files" - file size is set but disk space isn't allocated
When database accesses memory-mapped sparse regions under disk pressure, SIGBUS occurs
This causes unexpected database crashes in production environments
THE SOLUTION:
fallocate() ensures real disk space allocation upfront
Database operations either succeed completely or fail gracefully during initialization
No surprise SIGBUS crashes during normal database operations