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

Race condition when auto-sweep is started [CORE4134] #4461

Closed
firebird-issue-importer opened this issue Jun 29, 2013 · 4 comments
Closed

Race condition when auto-sweep is started [CORE4134] #4461

firebird-issue-importer opened this issue Jun 29, 2013 · 4 comments

Comments

@firebird-issue-importer

Submitted by: @hvlad

When concurrent transactions detects sweep condition and starts an asyncronous sweep process there is race condition present which could lead to the unneeded effects:
- a lot of sweep threads could be started (and perform attach\detach calls)
- in SS concurrent sweep threads could be serialized inside isc_attach_database and then run sequentially few times a whole sweep process
- a lot of threads could lead to out of memory condition, especially at 32-bit process

Commits: 5254e36 67dc3c1 caa6998 8a9cebb 8a3450e c12e731 FirebirdSQL/fbt-repository@ab1270d FirebirdSQL/fbt-repository@05e3d3c FirebirdSQL/fbt-repository@c58b21d FirebirdSQL/fbt-repository@a65b2f6 FirebirdSQL/fbt-repository@5f9191e FirebirdSQL/fbt-repository@a7a4514

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 29, 2013

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 8, 2013

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

Fix Version: 2.5.3 [ 10461 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 22, 2015

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 18, 2016

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test

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

Successfully merging a pull request may close this issue.

None yet
2 participants