#618 (ok 3.5) Patch for feature request in #3177495

closed-accepted
1
2012-04-07
2011-04-03
No

This patch provides a new configuration option, which hides the table maintainance options, like optimizing, repairing, etc. If someone initiates such a maintainance task, it may turn big databases slow for a long time, until the task is totally finished that's why this is desired.

Discussion

  • Marc Delisle

    Marc Delisle - 2011-04-09
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2011-04-09
    • assigned_to: lem9 --> nobody
     
  • Marc Delisle

    Marc Delisle - 2011-04-09

    The patch works. I'm not sure about disabling Repair, however.

    Also I'm not sure about merging this to 3.4. Awaiting comments from other developers.

    Another point: this patch only takes care of the drop-down but the same actions are available in Operations for each table.

    P.S. the spelling is "maintenance" and I would suggest DisableMultiTableMaintenance as the config name.

     
  • Gábor Kövesdán

    I uploaded a corrected patch. It uses the suggested config name and fixes the spelling. It does not hide the maintenance operations from the Operations page of single tables because it seems that the original feature request is concerned of mass operations only and I'm feeling the same about this. Single maintenance tasks are not that resource consuming and the user cannot accidentally start multi-table operations with a single click in this way. I also made the config file comments more accurate to reflect this.

     
  • Marc Delisle

    Marc Delisle - 2011-06-05
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2011-06-05
    • priority: 5 --> 1
    • summary: Patch for feature request in #3177495 --> (ok 3.5) Patch for feature request in #3177495
    • status: open --> open-accepted
     
  • Marc Delisle

    Marc Delisle - 2011-06-05

    Your patch was merged in the repository, thanks.

     
  • Marc Delisle

    Marc Delisle - 2012-04-07
    • status: open-accepted --> closed-accepted