Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid sharing of database file while using embedded server [CORE2680] #3083

Closed
firebird-automations opened this issue Oct 14, 2009 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Daniel (danyschaer)

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,

Daniel

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

This is allowed in v3.0 via configuration.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant