Closed mconst closed 4 weeks ago
When shutting down due to a panic, don't mark the database as clean; just treat it like a crash and let the recovery code run next time. This avoids page leaks and possibly other database corruption, depending on where the panic happens.
When shutting down due to a panic, don't mark the database as clean; just treat it like a crash and let the recovery code run next time. This avoids page leaks and possibly other database corruption, depending on where the panic happens.