[MDEV-21118] Re-use a common work queue for Spider background tasks Created: 2019-11-21  Updated: 2023-05-23

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - Spider
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Sergey Vojtovich Assignee: Yuchen Pei
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-16264 Implement a common work queue for Inn... Closed

 Description   

After MDEV-16264 was implemented we got some almost dead code, which is used only by Spider background threads: create_thd() and destroy_thd().

Let Spider use tpool for its background threads.

Priority inherited from MDEV-16264, to make sure this clean-up is at least considered soon.

ATTN Kentoku



 Comments   
Comment by Vladislav Vaintroub [ 2021-08-19 ]

Hi nayuta-yanagisawa. I'm not sure if this fits into any plans, if not you might close this as well. The main thing Spider could benefit from is absense of dedicated threads doing single type task. If that first into any plans, just tell me, then the tpool initialization would need to be moved from Innodb into the server

Comment by Nayuta Yanagisawa (Inactive) [ 2021-08-19 ]

wlad OK. I'll see what kind of work I might need to do first.

Generated at Thu Feb 08 09:04:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.