[MDEV-23962] Remove arc directory support Created: 2020-10-15  Updated: 2023-03-07

Status: Open
Project: MariaDB Server
Component/s: Upgrades
Fix Version/s: 10.6

Type: Task Priority: Major
Reporter: Michael Widenius Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: beginner-friendly


 Description   

In the server we have obsolete code to handle 'arc' directories in the following places
sql/sql_db.cc: find_db_tables_and_rm_known_files()
sql/sql_db.cc: mysql_rm_arc_files()
sql/parse_file.cc:rename_in_schema_file()

Remove this code and instead fix so that mysql_upgrade removes any old arc directories,
preferably with the code used by mysql_rm_arc_files().

There is no logic in the current code that will delete the 'arc' files when renaming a trigger file!



 Comments   
Comment by Sayan Mukherjee [ 2021-02-07 ]

Hi,
I know MySQL and new to MairaDB Server.
Can I contribute in this issue?
https://jira.mariadb.org/browse/MDEV-23962

Comment by Sachin Thakan [ 2022-03-10 ]

Hi, Myself Sachin Thakan. I would like to work on this task. Please do assign it to me. Thank You.

Comment by Sergei Golubchik [ 2022-03-17 ]

Hi, sachin001, a task cannot be assigned to somebody who isn't in a "developers" group in this Jira. But it doesn't matter, just work on it, as you like and create a pull request on github.

Comment by Sachin Thakan [ 2022-03-17 ]

@Sergei Golubchik Thanks for clarification.

Comment by Debjyoti Ghosh [ 2023-03-07 ]

Giving it a try

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