FirebirdSQL / firebird

Firebird server, client and tools
https://firebirdsql.org
1.26k stars 217 forks source link

Sometimes "shutdown in progress" after gbak restore since 3.0.11 (Classic) #8234

Open mielverh opened 2 months ago

mielverh commented 2 months ago

Since we are using Firebird 3.0.11 some of our customers (about 1%) report a problem with gbak restore. The output then ends with:

gbak:finishing, closing, and going home gbak:adjusting the ONLINE and FORCED WRITES flags [FireDAC][Phys][FB]database D:\DATA\DATABASE.FDB shutdown in progress IProvider::attachDatabase failed when loading mapping cache unknown ISC error 336330835

This might be caused by https://github.com/FirebirdSQL/firebird/pull/7233

There is no shutdown in progress, it just thinks it is?

In our tools we delete the restored fdb afterwards in case of a problem, so we don't have a database to analyze. If the customer repeats the backup+restore, it runs without a problem. We are not able to reproduce the problem.

Windows, Delphi application, scheduled backup+restore under system account, Firebird Classic, svcmgr.

mielverh commented 1 month ago

We switched most customers who experienced the problem from Classic to SuperServer (still 3.0.11). So far the problem has not occurred with SuperServer.