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

FB 4.0.2 execute statement on remote randomly raises error with codes: 335544344, 335545107 Super server on Linux #7312

Closed
andrewkip opened this issue Sep 21, 2022 · 8 comments
Assignees

Comments

@andrewkip
Copy link

After upgrading FB to 4.0.2 (and same error on snapshot build 2845) we start receiving randomly arasing errors
on execute statment on remote DB see below.

Both DB otc_blob202203.fdb and so.fdb queried by execute statement on remote.
Error does not apear If we have at least 1 connect to remote DB.

Fb 4.0.1 has no this error.

Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements.
Execute statement error at attach :
335544344 : I/O error during "lock" operation for file "/DATA_HDD/fb/blob/otc_blob202203.fdb"
335545107 : Database already opened with engine instance, incompatible with current
Data source : Firebird::dbsrvblob02.otc.pharm:otc_blob202203.
At procedure SYS_BLOB_DATA_GET line: 34, col: 9
At procedure PM_BLOB_DATA_GET line: 22, col: 7
At block line: 19, col: 9.

DBD::Firebird::st fetchrow_hashref failed: Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements -Execute statement error at attach :
335544344 : I/O error during "lock" operation for file "/DATA_SSD/fb/so.fdb"
335545107 : Database already opened with engine instance, incompatible with current Data source : Firebird::otcsodb.otc.pharm:so -At procedure 'DB_REMOTE_AVAILABLE_FLAG_GET2' line: 14, col: 3 At procedure 'DB_CONNECTION_INFO_GET' line: 53, col: 9 At procedure 'SYNC_EXT_SOURCE_GET' line: 19, col: 9 at /opt/etms/modules//ETMSExtSyncTools.pm line 60.

@AlexPeshkoff
Copy link
Member

Almost for sure your databases sometimes accessed embedded. What other tasks (except access using execute statement on external) are performed with that DBs?

@andrewkip
Copy link
Author

About embeded connection was our first thought.
We have session logging and there are no embeded connections.
All conncetions to this db are using execute statement on external.
there is no error if at least 1 connection exisst to this db.
One more thing: as I can see - error raises when many short (session lasts <1 second) concurrent connections (all execute statement on external) to this DB.

@aafemt
Copy link
Contributor

aafemt commented Sep 21, 2022

Switch server mode to superserver.

@andrewkip
Copy link
Author

Switch server mode to superserver.

Server is in superserver mode.

@AlexPeshkoff
Copy link
Member

Andrew, you've written:

After upgrading FB to 4.0.2 (and same error on snapshot build 2845)

I must say that for 2845 observed behavior is known (to me) bug and will be fixed soon. Can you confirm (once again) it also takes place on release 4.0.2?

@andrewkip
Copy link
Author

I've checked carefully once again and I was wrong.
It takes place on snapshot build 2845 only.
It does not take place on release 4.0.2
I'm sorry for misleading you.

@andrewkip
Copy link
Author

Should I rename issue?

@AlexPeshkoff AlexPeshkoff self-assigned this Sep 22, 2022
@AlexPeshkoff
Copy link
Member

Regression was caused by invalid fix for #7299. It was rolled back by 40d09d28a1ca59c1371290219fb48f197adeb129.

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

No branches or pull requests

3 participants