Closed greenlion closed 3 years ago
fsync() does not flush unflushed data from core to write cache. warp_trx::commit calls fsync() without first calling fflush()
This means that if the server crashes, commits could be lost. That is, uh, BAD. Modify warp_trx::commit to call fflush() followed by fsync().
Fixed in parallel_query branch in latest checkin.
fsync() does not flush unflushed data from core to write cache. warp_trx::commit calls fsync() without first calling fflush()
This means that if the server crashes, commits could be lost. That is, uh, BAD. Modify warp_trx::commit to call fflush() followed by fsync().