Some hosts (apart from rc services one) have the table pagelinks partioned which looks like a mistake:
root@neodymium:/home/marostegui/git/software/dbtools# for i in `cat s7.hosts| egrep -v "db1069|db2040|db1034|db1062"| awk -F " " '{print $1}'`; do echo $i; mysql -h$i -A metawiki -e "show create table pagelinks\G" | grep PARTITI | wc -l; done
dbstore2001.codfw.wmnet
0
db2047.codfw.wmnet
5
db2054.codfw.wmnet
5
db2061.codfw.wmnet
5
db2068.codfw.wmnet
0
db2029.codfw.wmnet
5
dbstore1001.eqiad.wmnet
0
dbstore1002.eqiad.wmnet
5
labsdb1001.eqiad.wmnet
0
labsdb1003.eqiad.wmnet
0
db1028.eqiad.wmnet
5
db1033.eqiad.wmnet
0
db1039.eqiad.wmnet
5
db1079.eqiad.wmnet
0
db1086.eqiad.wmnet
0
db1094.eqiad.wmnet
0
db1041.eqiad.wmnet
5This should get unified:
alter table pagelinks remove partitioning ./software/dbtools/osc_host.sh --host=xxxxxx --port=3306 --db=metawiki --table=pagelinks --method=ddl --no-replicate "remove partitioning"
They have been removed already from db2068 as it was needed for maintenance: T153194
Moving tablespaces with partitions isn't supported on MariaDB right now and it is marked to be supported in 10.3: https://jira.mariadb.org/browse/MDEV-10568