LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-28-2021, 04:54 AM   #1
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 116

Rep: Reputation: 79
Exclamation Heads up: MariaDB 10.6 breaking change


Quote:
From MariaDB 10.6.0, tables that are of the COMPRESSED row format are read-only by default. This is the first step towards removing write support and deprecating the feature.
Latest mariadb upgrade in -current (10.6.0) broke my nextcloud and I had to revert to 10.5.9 (Thanks slackware.uk cumulative!!) while I think/explore/wait for a solution.

Here's a link to an issue stating the cause: https://github.com/nextcloud/server/issues/25436
 
Old 04-28-2021, 05:18 AM   #2
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 116

Original Poster
Rep: Reputation: 79
Working solution I found for now until the feature is actually deprecated: pass --skip-innodb-read-only-compressed in rc.mysqld, line 45
 
Old 04-28-2021, 05:44 AM   #3
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Thanks for the heads up, Im still on mariadb 10.5.9 but will probably need to apply the fix myself once the local slackware mirror updates with todays changes. Are you on nextcloud 21.0.1 ?
 
Old 04-28-2021, 06:29 AM   #4
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
Heads up! You shall remove the usage of this feature, because it is on the death row, waiting for its termination!

https://mariadb.com/kb/en/innodb-compressed-row-format/
Quote:
From MariaDB 10.6.0, tables that are of the COMPRESSED row format are read-only by default. This is the first step towards removing write support and deprecating the feature.

Set the innodb_read_only_compressed variable to OFF to make the tables writable.

Last edited by LuckyCyborg; 04-28-2021 at 06:30 AM.
 
Old 04-28-2021, 07:45 AM   #5
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Heads up! You shall remove the usage of this feature, because it is on the death row, waiting for its termination!
Yep, nextcloud is generally pretty good at this stuff, so I'd expect an upcoming version to include an occ maintenance option that will change row_format. Although a part of me is really tempted to change it now, after having checked to see that every single table is using compressed here.

Code:
MariaDB [nextcloud]> SELECT `table_name`, `row_format` FROM `information_schema`.`tables` WHERE `table_schema`=DATABASE();
table_name	row_format
oc_maps_devices	Compressed
oc_share	Compressed
oc_federated_reshares	Compressed
oc_dav_cal_proxy	Compressed
oc_maps_address_geo	Compressed
oc_authtoken	Compressed
oc_addressbookchanges	Compressed
oc_calendarobjects_props	Compressed
oc_webauthn	Compressed
oc_files_trash	Compressed
oc_comments_read_markers	Compressed
oc_preferences	Compressed
oc_vcategory	Compressed
[...]
[...]
 
Old 04-28-2021, 07:50 AM   #6
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 116

Original Poster
Rep: Reputation: 79
Quote:
Originally Posted by avian View Post
Thanks for the heads up, Im still on mariadb 10.5.9 but will probably need to apply the fix myself once the local slackware mirror updates with todays changes. Are you on nextcloud 21.0.1 ?
yes, 21.0.1

Quote:
Originally Posted by LuckyCyborg View Post
Heads up! You shall remove the usage of this feature, because it is on the death row, waiting for its termination!

https://mariadb.com/kb/en/innodb-compressed-row-format/
I know, it's in the link I mention but I think I'll let the Nextcloud team deal with this as I haven't touched php for more than 15 years.
 
Old 04-28-2021, 08:31 AM   #7
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Probably not the smartest move, but I altered the ROW_FORMAT to DYNAMIC for every nextcloud table. Upgraded to 10.6.0 and nextcloud seems satisfied (for now). No idea about long term consequences, so not exactly recommending this as a solution to others, more for the curious.
 
Old 04-28-2021, 08:33 AM   #8
pipeweed
LQ Newbie
 
Registered: Feb 2016
Posts: 18

Rep: Reputation: Disabled
To follow the progress of deprecating/removing this feature on MariaDB's issue tracker, see https://jira.mariadb.org/browse/MDEV-22367
 
  


Reply

Tags
mariadb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KDE Participating in Google Summer of Code 2019, MariaDB Releasing New Open-Source MariaDB Enterprise Server, CentOS Celebrates 15th B LXer Syndicated Linux News 0 02-28-2019 06:50 AM
[SOLVED] Change CharSet in MariaDB database from latin1-swedish-ci to utf8mb4 Basher52 Linux - Software 3 04-27-2018 03:41 AM
How to change MariaDb time, synchronize it with the server time (CentOS7)? AdultFoundry Linux - Newbie 1 01-09-2016 03:44 PM
dependency introduced breaking change, how to workaround with automake bjdodo Programming 5 03-02-2012 10:03 PM
how to change sectors, heads and cylinders in hard disk kaushalsingh Linux - Newbie 2 12-24-2009 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration