|
|
Log in / Subscribe / Register

Changing Fedora's shutdown timeouts

Changing Fedora's shutdown timeouts

Posted Jan 24, 2023 9:16 UTC (Tue) by brunowolff (guest, #71160)
In reply to: Changing Fedora's shutdown timeouts by Wol
Parent article: Changing Fedora's shutdown timeouts

If the application is doing this correctly, then committed transactions won't get lost. The application shouldn't report a transaction as committed until after the database says it is.


to post comments

Changing Fedora's shutdown timeouts

Posted Jan 24, 2023 9:35 UTC (Tue) by Wol (subscriber, #4433) [Link] (3 responses)

And you're missing the point COMPLETELY. By the USERS' DEFINITION, the database is corrupt.

The database STRUCTURE may be perfectly okay. That's no use to me if I've lost a thousand or so customer transactions because the user interface didn't have time to flush to the transaction log ...

The database is protecting ITSELF. It is not successfully protecting the user's data. THAT is the problem.

Cheers,
Wol

Changing Fedora's shutdown timeouts

Posted Jan 24, 2023 11:31 UTC (Tue) by mjg59 (subscriber, #23239) [Link] (2 responses)

Why is the database informing clients that data is committed if the data is not actually committed?

Changing Fedora's shutdown timeouts

Posted Jan 24, 2023 11:37 UTC (Tue) by Wol (subscriber, #4433) [Link] (1 responses)

Because the layer below lied to it? Because hardware lies?

At the end of the day, I DON'T KNOW. But I've seen enough stories about lying for benchmarks, to make me very wary of trusting an acknowledgement further than I can throw it.

Cheers,
Wol

Changing Fedora's shutdown timeouts

Posted Jan 25, 2023 4:34 UTC (Wed) by mjg59 (subscriber, #23239) [Link]

If hardware lies, how do you know any form of shutdown will result in the data ending up on disk? Either the database knows it's hit disk (in which case it can delay sending confirmation until it knows that) or it doesn't (in which case it doesn't matter how you shut down, there's still a chance of data loss)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds