Commit fb231c4
committed
fix: align Transaction::Apply() with Java BaseTransaction behavior
Match Java's BaseTransaction where hasLastOpCommitted tracks whether
PendingUpdate.commit() was called, not Transaction.commitTransaction().
Key changes:
- Remove last_update_committed_ reversion on Transaction::Commit() failure
- The flag tracks PendingUpdate state (updates applied to metadata_builder_)
- Transaction persistence to catalog is a separate concern
This aligns with Java BaseTransaction.TransactionTableOperations.commit()
at line 645 which sets hasLastOpCommitted=true and never reverts it based
on transaction commit results.1 parent 17c03f1 commit fb231c4
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
| |||
0 commit comments