wip: consistent flush ordering