Issue Details (XML | Word | Printable)

Key: CORE-5815
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 2

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

Server hangs for 60/120 seconds if client exits during database encryption key transfer callback

Created: 04/May/18 06:03 PM   Updated: 05/May/18 03:04 PM
Component/s: API / Client Library, Engine
Affects Version/s: 4.0 Initial, 3.0.0, 3.0.1, 3.0.2, 4.0 Alpha 1, 3.0.3
Fix Version/s: 3.0.4, 4.0 Beta 1

QA Status: Cannot be tested

 Description  « Hide
If client for some reason does not reply to the callback request for dbcrypt key (for example - segfault in callbak code) server waits for reply packet for 60 sec and may be 60 more sec for one more callback. During this time server can process other users' requests except attach/detach database and can't exit/restart normally.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Sean Leyne added a comment - 04/May/18 06:15 PM

I think you meant to write "During this time server can *not* process other...", correct?

Alexander Peshkov added a comment - 04/May/18 06:44 PM
During this time server *can* process other users' requests but not all - attach and detach are impossible. Existing attachments continue work normally. There is mutex locked that is in use during attach and detach.