Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new aliases to the sample interval, reconnect interval, and update interval attributes #1507

Draft
wants to merge 5 commits into
base: b4.4
Choose a base branch
from

Conversation

nichamon
Copy link
Collaborator

No description provided.

@nichamon
Copy link
Collaborator Author

@nick-enoent I'm not sure whether this patch affects the YAML patch or Maestro or not.

@nichamon
Copy link
Collaborator Author

Resolves #1497

@nichamon nichamon marked this pull request as draft November 11, 2024 19:44
@@ -357,42 +357,66 @@ class LdmsdCmdParser(cmd.Cmd):
def complete_daemon_exit(self, text, line, begidx, endidx):
return self.__complete_attr_list('daemon_exit', text)

def __handle_reconnect_alias(reconnect_interval, reconnect, interval):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we possibly move this function to ldmsd_communicator.py? I realize we don't have parser_util.py merged yet, or I'd suggest moving it there. This would be useful to be able to call when parsing YAML files for both the ldmsd -y option and maestro_ctrl

Copy link
Collaborator

Choose a reason for hiding this comment

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

@nick-enoent let's look at the API and decide if we need something else.

@tom95858
Copy link
Collaborator

@nichamon can we confirm that this does not any compatibly issues? I'm not really asking @nichamon I'm asking all the people who advocated for this change.

@nichamon nichamon marked this pull request as ready for review November 12, 2024 17:23
@nichamon nichamon added this to the v4.5.1 milestone Nov 13, 2024
@nichamon nichamon marked this pull request as draft November 13, 2024 16:01
@nichamon
Copy link
Collaborator Author

nichamon commented Nov 13, 2024

On Hold for Future Release (v4.5+)

This PR is being postponed to a future release due to potential impacts on existing configuration file generation scripts.

Impact:

  • The 'interval' attribute will be marked as deprecated
  • Without script modifications, warning messages will be generated whenever 'interval' is used

We'll revisit this change after v4.4.5 to ensure a smooth transition for all users.

The pull request was converted to draft until a target version is made.

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.

4 participants