• Sergey Vojtovich's avatar
    MDEV-7273 - 10.1 fails to start up during tc_log initializations on PPC64 · f65901ee
    Sergey Vojtovich authored
    log-tc-size is 24K by default. Page size is 64K on PPC64. But log-tc-size
    must be at least 3 x page size. This is enforced by TC_LOG_MMAP::open()
    with a comment: to guarantee non-empty pool.
    
    This all makes server not startable in default configuration on PPC64.
    
    Autosize log-tc-size, so that it's min value= page size * 3, default
    value= page size * 6, block size= page size.
    f65901ee
log.h 39.9 KB