[MDEV-15281] main.query_cache_debug failed in buildbot, Query cache is disabled Created: 2018-02-11  Updated: 2022-12-27  Resolved: 2022-12-27

Status: Closed
Project: MariaDB Server
Component/s: Query Cache, Tests
Affects Version/s: 10.0
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-15665 main.query_cache_debug failed in buil... Closed
Relates
relates to MDEV-25094 main.query_cache_debug: Assertion `0'... Confirmed

 Description   

http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/7278/steps/test/logs/stdio

main.query_cache_debug                   w3 [ fail ]
        Test ended at 2018-02-08 19:56:49
 
CURRENT_TEST: main.query_cache_debug
mysqltest: At line 371: query 'SEt GLOBAL query_cache_type= DEFAULT' failed: 1924: Query cache is disabled (resize or similar command in progress); repeat this command later
 
The result from queries just before the failure was:
< snip >
`id` int(10) NOT NULL AUTO_INCREMENT,
`k` int(10) default '0',
PRIMARY KEY (`id`))
ENGINE=MyISAM;
INSERT IGNORE INTO t1 VALUES
(NULL,1),(NULL,8),(NULL,NULL),(NULL,NULL),(NULL,4),(NULL,9),(NULL,7),
(NULL,3),(NULL,NULL),(NULL,2),(NULL,3),(NULL,NULL),(NULL,2),(NULL,7),
(NULL,1),(NULL,2),(NULL,4),(NULL,NULL),(NULL,1),(NULL,1),(NULL,4);
SET GLOBAL query_cache_size= 1024*1024;
SET GLOBAL query_cache_type= 1;
set debug_sync="wait_in_query_cache_store_query SIGNAL parked WAIT_FOR go";
SELECT DISTINCT id FROM t1 WHERE id BETWEEN 5603 AND 16218 ORDER BY k;
set debug_sync="now WAIT_FOR parked";
SET GLOBAL query_cache_type= 0;
set debug_sync="now SIGNAL go";
id
set debug_sync= 'RESET';
DROP TABLE t1;
SEt GLOBAL query_cache_size= DEFAULT;
SEt GLOBAL query_cache_type= DEFAULT;



 Comments   
Comment by Alice Sherepa [ 2022-12-27 ]

Closing as it happened only once, on 10.0. Currently, test fails as MDEV-25094

Generated at Thu Feb 08 08:20:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.