Bug #55618 Inconsistent conversion of col. storage format after DROP INDEX from DD tables.
| Submitted: | 28 Jul 2010 22:42 | Modified: | 2 Dec 2010 7:25 |
|---|---|---|---|
| Reporter: | Matthew Montgomery | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Cluster: Disk Data | Severity: | S2 (Serious) |
| Version: | mysql-5.1-telco-7.1 | OS: | Any |
| Assigned to: | Jonas Oreland | CPU Architecture: | Any |
| Tags: | ndb-7.1.6 bzr | ||
[28 Jul 2010 22:42]
Matthew Montgomery
[29 Nov 2010 19:18]
Jonas Oreland
case 1) doesnt move column from memory to disk, as it's a online drop table iff you want to move it you have to specify "alter offline table" in which case it should move. case 2) look like a bug, this *should* be an online drop, (in which a column can't move) case 3) is ok, as dropping a primary always requires table rebuild, hence is equivalant of doing an "alter offline table" Summary: The only think that I think is a bug here is that case 2 becomes an offline alter table (i.e table rebuild).
[30 Nov 2010 10:22]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/125472 3355 Jonas Oreland 2010-11-30 ndb - bug#55618, online drop of multi column index not working for table with storage disk
[30 Nov 2010 10:22]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/125473 3355 Jonas Oreland 2010-11-30 ndb - bug#55618, online drop of multi column index not supported for table with storage disk
[30 Nov 2010 10:35]
Bugs System
Pushed into mysql-5.1-telco-6.3 5.1.51-ndb-6.3.40 (revid:jonas@mysql.com-20101130101952-pyudaz0lz9hlpijr) (version source revid:jonas@mysql.com-20101130101952-pyudaz0lz9hlpijr) (merge vers: 5.1.51-ndb-6.3.40) (pib:23)
[30 Nov 2010 10:41]
Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.51-ndb-7.0.21 (revid:jonas@mysql.com-20101130103942-1uy7fby636vwplba) (version source revid:jonas@mysql.com-20101130103537-3drrpuwd50bmgsdv) (merge vers: 5.1.51-ndb-7.0.21) (pib:23)
[30 Nov 2010 10:48]
Jonas Oreland
pushed to 6.3.40, 7.0.21 and 7.1.10 DOCS: The problem was that multi-column indexes was treated differently that single-column indexes. DOCS 2: The fact that online/offline alter table behaves differently wrt create/drop index on table with storage disk, is quite non-obvious and is likely not well articulated in docs...(guess)
[2 Dec 2010 7:25]
Jon Stephens
Documented bugfix in the NDB-6.3.40, 7.0.21, and 7.1.10 changelogs, as follows:
Performing what should have been an online drop of a
multi-column index was actually performed offline.
Also updated description of ONLINE/OFFLINE in "ALTER TABLE Syntax" in the 5.1 Manual, in particular the section titled "Limitations of online operations".
Closed.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.044 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.