TS-2138 TS-2412: fix the bug that cache data loss when restarting
ats if build with linuat native-aio.