add flushed transaction id and the api to get it.
Merge branch 'master' into ft