• Thirunarayanan Balathandayuthapani's avatar
    MDEV-24730 Insert log operation fails after purge resets n_core_fields · eb7c5530
    Thirunarayanan Balathandayuthapani authored
    Online log for insert operation of redundant table fails with
    index->is_instant() assert. Purge can reset the n_core_fields when
    alter is waiting to upgrade MDL for commit phase of DDL. In the
    meantime, any insert DML tries to log the operation fails with
    index is not being instant.
    
    row_log_get_n_core_fields(): Get the n_core_fields of online log
    for the given index.
    
    rec_get_converted_size_comp_prefix_low(): Use n_core_fields of online
    log when InnoDB calculates the size of data tuple during redundant
    row format table rebuild.
    
    rec_convert_dtuple_to_rec_comp(): Use n_core_fields of online log
    when InnoDB does the conversion of data tuple to record during
    redudant row format table rebuild.
    
    - Adding the test case which has more than 129 instant columns.
    eb7c5530
instant_alter_debug.combinations 92 Bytes