Issue Details (XML | Word | Printable)

Key: CORE-2680
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Daniel
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

Avoid sharing of database file while using embedded server

Created: 13/Oct/09 10:39 PM   Updated: 09/Mar/16 01:22 PM
Component/s: API / Client Library
Affects Version/s: 2.5 Beta 2
Fix Version/s: 3.0 Alpha 1

 Description  « Hide
Hi All;

As Firebird 2.5 proyect moved the embedded server from SuperServer to SuperClassic, now when we open a database file using the embedded server it is opened as a full shared file.

We found that this is going to be the source of problems. For example, we found users that are doing backups while the server is using the database file; then, if we try to open this database our application crashes (we can't understand why).

As Dmitry suggested to me, I tried to lock the file (I used LockFile Win32 API) but then Firebird can't open the database file.

So, I want to suggest to add an option for entirely locking the database file while using it.

Best regards,


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dmitry Yemanov added a comment - 09/Mar/16 01:22 PM
This is allowed in v3.0 via configuration.