Skip to content

[email protected] 8.0.43 #231025

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SMillerDev
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

@github-actions github-actions bot added legacy Relates to a versioned @ formula bump-formula-pr PR was created using `brew bump-formula-pr` icu4c ICU use is a significant feature of the PR or issue labels Jul 23, 2025
@SMillerDev
Copy link
Member Author

MySQL bump for #211365

- make sure we install the `status.log` to the logs directory so we can
  recover it when desired.

Co-authored-by: Carlo Cabrera <[email protected]>
@carlocab
Copy link
Member

Looks like this is failing while executing mysql-test-run.pl, just like with mysql and [email protected].

Logs, in case it's helpful:
04.mysql-test-run.pl.log
status.log

Ideas here, @Homebrew/core?

@carlocab carlocab added the CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. label Jul 24, 2025
@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Jul 24, 2025
@carlocab
Copy link
Member

With --debug:

CURRENT_TEST: main.status
mysqltest: At line 80: Query 'reap' failed.
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction

The result from queries just before the failure was:
# Sending:
update t1 set n = get_lock('mysqltest_lock', 100) ;
# Switched to connection: con1
# Wait for the first UPDATE to get blocked.
# Sending:
update t1 set n = 3;
# Switched to connection: default
# wait for the second UPDATE to get blocked
Timeout in wait_condition.inc for select 1 from INFORMATION_SCHEMA.PROCESSLIST
where ID = (select connection_id()) and STATE = "Waiting for table level lock"
select release_lock('mysqltest_lock');
release_lock('mysqltest_lock')
1
# Switched to connection: con2
# Reaping first UPDATE
select release_lock('mysqltest_lock');
release_lock('mysqltest_lock')
1
# Switched to connection: con1
# Reaping second UPDATE
safe_process[39613]: Child process: 39614, exit: 1

 - the logfile can be found in '/private/tmp/mysqlA8.0-20250724-7519-dzv5x7/mysql-8.0.43/mysql-test-vardir/log/main.status/status.log'

and status.log:

set @old_concurrent_insert= @@global.concurrent_insert;
set @@global.concurrent_insert= 0;
SET @old_log_output = @@global.log_output;
SET GLOBAL LOG_OUTPUT = 'FILE';
flush status;
show status like 'Table_lock%';
Variable_name	Value
Table_locks_immediate	1
Table_locks_waited	0
select * from performance_schema.session_status where variable_name like 'Table_lock%';
VARIABLE_NAME	VARIABLE_VALUE
Table_locks_immediate	2
Table_locks_waited	0
set sql_log_bin=0;
set @old_general_log = @@global.general_log;
set global general_log = 'OFF';
drop table if exists t1;
create table t1(n int);
insert into t1 values(1);
select get_lock('mysqltest_lock', 100);
get_lock('mysqltest_lock', 100)
1
# Switched to connection: con2
# Sending:
update t1 set n = get_lock('mysqltest_lock', 100) ;
# Switched to connection: con1
# Wait for the first UPDATE to get blocked.
# Sending:
update t1 set n = 3;
# Switched to connection: default
# wait for the second UPDATE to get blocked
Timeout in wait_condition.inc for select 1 from INFORMATION_SCHEMA.PROCESSLIST
where ID = (select connection_id()) and STATE = "Waiting for table level lock"
select release_lock('mysqltest_lock');
release_lock('mysqltest_lock')
1
# Switched to connection: con2
# Reaping first UPDATE
select release_lock('mysqltest_lock');
release_lock('mysqltest_lock')
1
# Switched to connection: con1
# Reaping second UPDATE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosquash Automatically squash pull request commits according to Homebrew style. bump-formula-pr PR was created using `brew bump-formula-pr` CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. icu4c ICU use is a significant feature of the PR or issue legacy Relates to a versioned @ formula
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants