-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
DDL statements hang when the compiled statements cache is enabled #7598
Comments
This is regression introduced with fix for #7385 |
I run DEBUG build with default firebird.conf. Do you run SS ? But assert with |
Same for me.
Yes.
Yes, and CREATE INDEX is also important here. I believe there is a more simple way to reproduce but I haven't figured it out yet.
Yes, you are right. I edited the comment. |
Finally, I've reproduced it. Previous attempts failed because I insert 500K recs into table.
Right after prepare, in The such big difference is because of Also, it raise a question - should we explicitly clear (or reset) this bitmap (and may be some other resources) when |
I tried it, and it seems to fix both problems. |
Fixed, thanks. |
FB5. How to reproduce:
Close this connection.
Seems like the issue is related to the compiled statements cache and occurs when
DsqlStatementCache::shrink()
is called.MaxStatementCacheSize = 0
solves the issue.Also when I try these steps on the debug build with
MaxStatementCacheSize = 32K
, I get a violated fb_assert inDsqlStatementCache::purgeAllAttachments()
.The text was updated successfully, but these errors were encountered: