On 21/10/2022 10:27, Paul Marfell wrote:
I don't want my system slowed down just because there might sometime be
a crash but it would seem sensible to set a flag in the dB when dt
starts and unset it when it shuts down normally. If the flag is set when
dt starts then it can run some checks or just warn the user.
Paul
This "slowdown" would be absolutely neglegible, compared to the risk of
having never ending DB transactions (until you termintate dt gracefully).
But we already learned that this is not the case. dt commits the db
transactions if you move to the next picture. This is absolutely
resonable. Everything else would be asking for trouble.
Even an fsync() might make sense, after the commit.
This limits the loss of information to one picture max, be it in the DB
or in the xmp. Unless your "crash" breaks your file system, then you are
lost. So just avoid crashes.
Best regards,
Michael
--
Michael Staats
michael.sta...@gmx.de
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org