[feature](cloud) Add lazy commit mechanism for commit_txn
#38243
+2,392
−543
commit_txn
#38243