[MDEV-27595] Backport SQL service, introduced by MDEV-19275 Created: 2022-01-24  Updated: 2023-12-22  Resolved: 2023-11-05

Status: Closed
Project: MariaDB Server
Component/s: Plugins
Fix Version/s: 10.4.33, 10.5.24, 10.6.17

Type: Task Priority: Critical
Reporter: Nayuta Yanagisawa (Inactive) Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-22979 "mysqld --bootstrap" / mysql_install_... Closed
blocks MDEV-29870 Backport fixes to spider init bugs to... Closed
is blocked by MDEV-19275 Provide SQL service to plugins. Closed
is blocked by MDEV-27832 Disable binary logging for SQL SERVICE Closed
Relates
relates to MDEV-27831 Let the SQL SERVICE user set the curr... Stalled
relates to MDEV-32808 using sql_service within encryption k... Open
relates to MDEV-33047 using sql_service within deinit of pl... Confirmed

 Description   

To make it possible for Spider to create system tables at the plugin initialization, we need to backport the SQL service from 10.7.



 Comments   
Comment by Nayuta Yanagisawa (Inactive) [ 2022-01-24 ]

The set of the patches in https://github.com/MariaDB/server/tree/bb-10.4-MDEV-27233 partially works but there is some problem related to replication.

Comment by Nayuta Yanagisawa (Inactive) [ 2022-02-16 ]

The problem mentioned in the above comment will be fixed by MDEV-27832.

Comment by Alexey Botchkov [ 2022-07-26 ]

There are 7 patches in the bb-10.4-mdev-27595-hf branch.

Comment by Sergei Golubchik [ 2022-09-07 ]

sorry, this is impossible to review. what changes are direct backport? what changes were needed to adjust the direct backport to work in 10.4? I see many changes are the same as in 10.7 (direct backport) but some are new, and the patch is too big for me to compare every line from the patch with 10.7 to find which is which.

Please squash/split the patches to have one patch with a backport and any following number of patches with follow-up fixes that were needed to make the first patch to compile and work.

Comment by Alexey Botchkov [ 2023-09-20 ]

bb-10.4-mdev-27595-hf

Comment by Sergei Golubchik [ 2023-10-16 ]

commits 837b777bfd7^..47919d735a10 are ok to push
after taking into account comments in emails about 837b777bfd7 and d4c173ae6df

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