-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
BLOB not found [JDBC411] #452
Comments
Modified by: Attila Molnár (e_pluribus_unum)description: Hi Mark! On one [read-write, read-commited] thread I update a blob column in a record. On an other [read, read-commited] thread I read that record from DB. The two thread are concurrent read and write can occure on the same time. Sometimes I get "BLOB" not found error. Is this a JayBird bug, or Firebird bug? Thank you! => Hi Mark! On one [read-write, read-commited] thread I update a blob column in a record. On an other [read, read-commited] thread I read that record from DB. The two thread are concurrent read and write can occure on the same time. Sometimes I get "BLOB" not found error. Is this a JayBird bug, or Firebird bug? Thank you! |
Commented by: @mrotteveel Could you create a reproduction case, that makes it easier to analyze. |
Commented by: Attila Molnár (e_pluribus_unum) Hi! Here is my test program. public class JDBC402 {
} |
Modified by: Attila Molnár (e_pluribus_unum)Attachment: JDBC402.ZIP [ 12823 ] |
Commented by: Attila Molnár (e_pluribus_unum) The call stack in the application : hu.libra.lreserver.process.ProcessException: org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544382. BLOB not found |
Commented by: @mrotteveel Thanks, I will see if I can reproduce this after I get 2.2.9 out the door. I have two theories: either the new blob id is selected and not yet considered visible to the transaction when opening the blob, or the old blob id is already garbage collected even though the transaction might still have an interest. Playing around with the fetch size might have an effect on the reproducibility. I will see if I can narrow it down and report a bug on CORE if necessary. |
Commented by: @mrotteveel One last question: Which Firebird version do you use (version + type (classic, superclassic, superserver))? |
Modified by: Attila Molnár (e_pluribus_unum)environment: 2.5.4, x64, SuperClassic, Windows |
Commented by: Attila Molnár (e_pluribus_unum) CORE5078 might be related? |
Commented by: @mrotteveel It might be. But I see you use SuperClassic, not sure if that makes a difference here though. |
Commented by: Attila Molnár (e_pluribus_unum) Tested with latest 2.5.6. snapshot which has CORE5078 fix. |
Commented by: Attila Molnár (e_pluribus_unum) I think this is a CORE/engine problem not JDBC. |
Commented by: @mrotteveel I haven't yet found the exact combination that triggers it. I was able to trigger it from flamerobin when running your sample application, so it looks like it is indeed a problem (expected?) of the engine, and not Jaybird itself. |
Commented by: Attila Molnár (e_pluribus_unum) I got same error when the reader thread Connection/transaction is in [read, snapshot] mode |
Commented by: malkovich I am also interested in this information, I will wait for an answer. |
Submitted by: Attila Molnár (e_pluribus_unum)
Attachments:
JDBC-402.ZIP
Hi Mark!
On one [read-write, read-commited] thread I update a blob column in a record. On an other [read, read-commited] thread I read that record from DB. The two thread are concurrent read and write can occure on the same time. Sometimes I get "BLOB" not found error.
It looks like this problem : http://www.lnssoftware.ca/blog/?p=67
Is this a JayBird bug, or Firebird bug?
Using [read, snapshot] transaction on the reader thread could solve the problem?
Thank you!
The text was updated successfully, but these errors were encountered: