Issue Details (XML | Word | Printable)

Key: CORE-5900
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Vlad Khorsun
Votes: 0
Watchers: 1

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

Login attempts while engine is shutting down caused unnecessary delays in shutdown process

Created: 22/Aug/18 04:13 PM   Updated: 09/Dec/18 11:49 AM
Component/s: Engine
Affects Version/s: 4.0 Alpha 1, 3.0.3
Fix Version/s: 3.0.4, 4.0 Beta 1

QA Status: Deferred
Test Details:
Currently there is no ability to restart FB instance from fbtest framework.
Though such test can be implemented by using 'sc.exe' and .bat with bulk ISQLs that are launched at the same time (Linux has, of course, similar tools for that task).

 Description  « Hide
When engine shutdown is already in progress, the server is still running and listening for/processing incoming packets including possible login requests.

But during shutdown the security database is unavailable, therefore plugins may return auth failures.

In some cases (like all db users using same login) this may cause "banning" of login attempts (due to multiple login failures -- which is designed to manage DDOS attack conditions). This causes the related worker threads to sleep for a while before returning login failure to user. Such threads cause the shutdown process to pause, making it wait till the end of "ban period".

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.