Skip to content

Conversation

dmitry-lipetsk
Copy link
Collaborator

@dmitry-lipetsk dmitry-lipetsk commented Mar 16, 2025

This base class requires:

  • explicit os_ops object

This base class declares the following "abstract" properties:

  • logs_dir
  • data_dir
  • utils_log_file
  • pg_log_file

This thing is needed for #216 and should help to #184.

This base class requires:
 - explicit os_ops object

This base class declares the following abstract properties:
 - logs_dir
 - data_dir
 - utils_log_file
 - pg_log_file
@dmitry-lipetsk dmitry-lipetsk mentioned this pull request Mar 16, 2025
This thing is required only in the constructor of PostgresNode.
PostgresNode_Base::clean deletes data_dir and logs_dir

PostgresNode::clean calls PostgresNode_Base::clean and deletes base_dir.
Names from 'utils' module are used explicitly.
Names from 'consts' module are used explicitly.
- [del] import of PG_CTL__STATUS__OK
- [del] import of PG_CTL__STATUS__NODE_IS_STOPPED
- [del] PG_CTL__STATUS__BAD_DATADIR
[del] node.should_rm_dirs=True
The problems on Probackup's CFS test are detected.

Parameter 'full' must be respected!
It a right way for creating a clone of PostgresNode.
@dmitry-lipetsk
Copy link
Collaborator Author

I think, this refactoring is not actual now.

I always can create it again, when it will be needed really.

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