wal: sync after writing data to disk in Cut function
Merge pull request #1861 from yichengq/250

wal: sync after writing data to disk in Cut function