[MDEV-33140] transaction failed and "flush logs" statement failed. Could not use for logging (error 2) Created: 2023-12-29 Updated: 2024-01-09 Resolved: 2024-01-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | R S N Murthy | Assignee: | Roel Van de Paar |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OS : Red Hat Enterprise Linux 8.3, @@version: 10.5.9-MariaDB-log, Linux duuscn1ahxunwcadbs1001 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Thu Nov 16 10:29:04 EST 2023 x86_64 x86_64 x86_64 GNU/Linux |
||
| Attachments: |
|
| Description |
|
The application transaction failed with below error
The DB has enough free space to handle the transaction, but still it was not proceeding with transaciton. When tryied flusing the logs it throwed error. Noticed Below in mariadb error log file
|
| Comments |
| Comment by Roel Van de Paar [ 2024-01-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
The application error shows:
The error log in the original description shows:
And the uploaded (and edited) error log shows:
Which are all inconsistent with each other. It looks like a directory change/disk resource management mishap has happened, and the subsequently executed log flush (likely at 2023-12-29 11:32:49) then triggered the issue (and/or OS file level disconnect, i.e. if they were in use and moved, Linux would keep the link open). To turn logging back on again please fix the cause, ensure logs are available and configured correctly, shutdown the MariaDB server and then restart it. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Roel Van de Paar [ 2024-01-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
MurthyRamachandrula Btw, there are apparently some of your internal IP addresses left in the uploaded error log; you may want to remove it from this ticket. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Roel Van de Paar [ 2024-01-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
MurthyRamachandrula Btw, https://mariadb.com/services/technical-support-services/ may be of interest if you would like to explore Enterprise Database Technical Support Services. All the best for 2024 also. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by R S N Murthy [ 2024-01-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you for Wishes and Wish you a Happy New Year. We did a bounce on mariadb service on the same day, it came up and is healthy. I came accross https://jira.mariadb.org/browse/MDEV-24625 that has a similar issue. The Database is enabled with "Data Encryption At REST and "Data Encryption in Transit" . The configuration was done by following the document MariaDB [(none)]> show global variables like '%encry%';
-----------------------------------------
----------------------------------------- MariaDB [(none)]> show global variables like '%ssl%';
--------------------
-------------------- Need guidence on how to avoid the issues. please guide | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Roel Van de Paar [ 2024-01-05 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
MurthyRamachandrula Hi again. MDEV-24625 Does not look related to the issue you observed as in your case the directory path seems to have been changed. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by R S N Murthy [ 2024-01-09 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Please help in understanding a situation. Does OS patching updates will make any difference to encryption since we are using OpenSSL to setup Data Encryption. |