Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS-5844 Memory leak after 'innodb.alter_crash' - in 'prepare_inplace_… #3597

Merged
merged 1 commit into from
Jan 14, 2020
Merged

PS-5844 Memory leak after 'innodb.alter_crash' - in 'prepare_inplace_… #3597

merged 1 commit into from
Jan 14, 2020

Commits on Jan 14, 2020

  1. PS-5844 Memory leak after 'innodb.alter_crash' - in 'prepare_inplace_…

    …alter_table_dict()'
    
    The problem
    If online alter fails to allocate undo log, heap memory allocated to
    index object won't be freed. This can be simulated by using debug point
    'ib_create_table_fail_too_many_trx' prior to an alter table.
    
    Solution
    Prior to set index pointer to null, call dict_mem_index_free to
    correctly free memory objects allocated by the index.
    altmannmarcelo committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    36c77ad View commit details
    Browse the repository at this point in the history