Closed mohit10verma closed 5 years ago
@mohit10verma, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org>
to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.
Updating undo/redo logging to expand based on usage, and reset to original size of 128 entries once done. Added tests for this. Previously, there were small and large transactions created using different APIs like
transaction.NewUndoTx()
andtransaction.NewLargeUndoTx()
. Determining size of transaction before-hand can be tricky. So, with this change, the logs can expand based on usage, and there is no longer the concept of explicit "large" transactions.