← Back to context

Comment by coldtea

4 years ago

>Add a secondary UPS. What will be the next excuse?

You shouldn't have to add a secondary UPS at all, period, and still get that.

Databases are designed that way (for integrity under sudden power loss) - the OS just needs to provide a standard call for the sync that they can use.

Now, fsync not guaranteeing a write is one thing -- and it's common in other OSes, even Linux behaved like that.

The non-commital fullsync on the other hand (and the slow speed) are problematic, and that's not an excuse for the user having such a bizarro case as wanting to run a DB on their Mac Mini without 2 UPS, that's you excusing Apple.

Not to mention that 2 UPS wont solve the problem if you're not there to shut down the computer gracefully as they, themselves, are depleted (e.g. at night) when there's a powerloss.