Examine the WAL flush implementation in TDengine's source code, focusing on the configurations WAL LEVEL and WAL FSYNC PERIOD. Check the code paths for WAL flush after insert operations. Reproduce the issue with the given settings. Check if there are recent changes related to WAL flush. Look at the relevant test files for WAL behavior.