• Marko Mäkelä's avatar
    MDEV-32511: Race condition between checkpoint and page write · cfd17881
    Marko Mäkelä authored
    fil_aio_callback(): Invoke fil_node_t::complete_write() before
    releasing any page latch, so that in case a log checkpoint is
    executed roughly concurrently with the first write into a file
    since the previous checkpoint, we will not miss a fdatasync()
    or fsync() call to make the write durable.
    cfd17881
fil0fil.cc 107 KB