Skip to content

Conversation

Pengzna
Copy link
Collaborator

@Pengzna Pengzna commented Aug 29, 2025

Comment on lines +324 to +328
try {
store.update(this);
// do not release lock when consensus layer is not working
releaseLock(env);
} catch (Exception e) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who will release the lock then?

Comment on lines +480 to +490
try {
store.update(parent);
// do not add this procedure when exception occurred
scheduler.addFront(parent);
LOG.info(
"Finished subprocedure pid={}, resume processing ppid={}",
proc.getProcId(),
parent.getProcId());
} catch (Exception e) {
LOG.warn("Failed to update parent on countdown", e);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is solely printing a log enough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants