alpass163 opened a new pull request, #18909:
URL: https://github.com/apache/iotdb/pull/18909
## Summary
Fix the procedure frame that prohibiting rollback of a procedure which has
passed its commit point
- `Procedure.isRollbackAllowed()` lets a procedure declare that its
executed states can no
longer be undone. The executor asks it once, before any state is rolled
back, and finishes
such a procedure without touching its states; the client still sees the
failure.
- The decision is persisted by clearing the stack indexes only, so the
procedure store format
is unchanged and rolling upgrades are not affected.
- Each table procedure declares its commit point: the state which applies
its change on the
ConfigNode (`ADD_COLUMN`, `RENAME_TABLE`, `SET_PROPERTIES`, ...), or the
point after which
the data is gone (`DELETE_DATA`).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]