|
|
Log in / Subscribe / Register

Changing Fedora's shutdown timeouts

Changing Fedora's shutdown timeouts

Posted Jan 24, 2023 10:04 UTC (Tue) by unilynx (guest, #114305)
In reply to: Changing Fedora's shutdown timeouts by Wol
Parent article: Changing Fedora's shutdown timeouts

> But if you've got a bunch of containers/vms/whatever on a machine in the cloud/your own cloud, can you guarantee that that log is safe? With all those layers of indirection in the way? Especially if the *container* confirms receipt of the log to the database, without the container itself checking that the layer below - and the layer below that etc etc - has really truly flushed the transaction? It's Russian Roulette

That's the easy part. And even in your simple scenario without containers, there is a possibility that the data was actually committed but we were unable to tell the user. Containers/VMs/clouds/layers only add some additional latency to these scenarios. And the final result is easy: either the change is committed or it isn't

(yep, you have to assume the layers are bugfree - but I've seen more dataloss with local systems ('confirmed' data not actually persisted) than with cloud volumes)

It gets harder when you need to persist something to multiple locations (spare/multimaster databases, a database and a payment system) because you can't atomically commit over both systems and need to deal with 2 phase commits, split brains, and all that fun.


to post comments


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