Revert "Use "transient" files for blind writes, take 2".
This reverts commit fba105b1. That approach had problems with the smgr-level state not tracking what we really want to happen, and with the VFD-level state not tracking the smgr-level state very well either. In consequence, it was still possible to hold kernel file descriptors open for long-gone tables (as in recent report from Tore Halset), and yet there were also cases of FDs being closed undesirably soon. A replacement implementation will follow.
Showing
- src/backend/storage/buffer/bufmgr.c 2 additions, 8 deletionssrc/backend/storage/buffer/bufmgr.c
- src/backend/storage/file/fd.c 26 additions, 65 deletionssrc/backend/storage/file/fd.c
- src/backend/storage/smgr/md.c 0 additions, 9 deletionssrc/backend/storage/smgr/md.c
- src/backend/storage/smgr/smgr.c 0 additions, 17 deletionssrc/backend/storage/smgr/smgr.c
- src/include/storage/fd.h 0 additions, 1 deletionsrc/include/storage/fd.h
- src/include/storage/smgr.h 0 additions, 2 deletionssrc/include/storage/smgr.h
Loading
Please register or sign in to comment