Skip to content

New exceptions: NodeException and StopNodeException - #452

Merged
dmitry-lipetsk merged 3 commits into
postgrespro:masterfrom
dmitry-lipetsk:D20261015_001--NodeStopException
Oct 15, 2026
Merged

dmitry-lipetsk merged 3 commits into
postgrespro:masterfrom
dmitry-lipetsk:D20261015_001--NodeStopException

Conversation

@dmitry-lipetsk

Copy link
Copy Markdown
Collaborator

Also

  • StartNodeException inherits an NodeException
  • helper_step_of_failure_during_slow_start processes StopNodeException exception
  • PostgresNode::slow_start rollback code is corrected

An easy rollback rule is used: stop -> refresh _manually_started_pm_pid
Also:
 - New class NodeException is a base class for Start/Stop node exceptions
@dmitry-lipetsk
dmitry-lipetsk force-pushed the D20261015_001--NodeStopException branch from 4474828 to ca00a9e Compare October 15, 2026 11:11
We have to work with our node within 'with' section!
@dmitry-lipetsk
dmitry-lipetsk merged commit 0ce3d7e into postgrespro:master Oct 15, 2026
39 checks passed
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.

1 participant