06.11.2018 15:46, Alex Peshkoff via Firebird-devel wrote:
As long as we have safe write order to database file it should not be corrupted due to unexpected interrupt. Even FW is not needed for it - nothing prevents OS to flush cache to the disk after application was interrupted.

  Actually, kernel does it before interrupt.

I prefer to save database with all possible measures. The user has a chance to avoid engine shutdown on signal caught using fb_shutdown_callback() but that will be his choice. Default should be safe.

Embedded mode cannot be safe by definition: it shares address space with unpredictable user code. Client-server mode is safe without shutdown on client side. I can live with fb_shutdown_callback(), but still would like client library to be a little less "active".


--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to