commit vs. flush