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

Issue824 morestates and issue966 and... other stuff #1067

Merged
merged 30 commits into from
May 27, 2024

Commits on May 21, 2024

  1. moving calculations of raw metrics to _resolve()

    There are many derived values that do calculations based on the
    raw metrics, done in the status() message.  By moving these
    calculations to the _resolve() routine, we make the results available
    to sr overview and sr dump, and this provides a foundation for more
    refined running states, as per #824
    petersilva committed May 21, 2024
    Configuration menu
    Copy the full SHA
    c484d80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5597d08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e442787 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b4bc0b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    691418c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cdf8dac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a3b534d View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    01b21f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b085fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d818bc2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e25c150 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    990af7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f0aeec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e91bbf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0de1ecd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    94551e0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a08776f View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. close #966 improves long transfers, and ftp error handling.

    There is a weird timeout error caused by setting timers that
    are never cleared when errors occur. this causes subscriber to
    crashes when FTP file retrieval fails, rather than logging and
    continuoing.
    
    Also added logProgress routine which is called to print a log
    message often enough to satisfy sanity_log_dead. currently fixed
    at every 60 seconds during a transfer.
    petersilva committed May 24, 2024
    Configuration menu
    Copy the full SHA
    f9a9a59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40935b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e969274 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cfb8341 View commit details
    Browse the repository at this point in the history
  5. remove debug output

    petersilva committed May 24, 2024
    Configuration menu
    Copy the full SHA
    0f61e38 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e6738cb View commit details
    Browse the repository at this point in the history
  7. instance_pids if no pid file are not missing.

    This code says the instances we find that don't have pids, are missing.
    This happens when we read metrics, and then know what the pids of the
    flows were when it was last running.
    An instance pid that doesn't have a matching file is actually a stray.
    I think this code pre-dates strays. anyways what was happenning:
    
    sr3 stop xx   # xx has current metrics file.
    sr3 sanity
      # instances of xx are detected as "missing" because metrics present.
      # sanity therefore starts up xx when it should not.
    petersilva committed May 24, 2024
    Configuration menu
    Copy the full SHA
    2bead5f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    caae421 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. have cleanup() abort things more sensibly.

    With this change, the cleanup() routine now returns a boolean, True for
    success, False for failure.   so remove() now only proceeds if cleanup()
    reports success.
    
    Also, cleanup will do nothing unless all the configurations chosen are stopped.
    Formerly it would clean up the stopped configurations, and skip the others.
    petersilva committed May 25, 2024
    Configuration menu
    Copy the full SHA
    af862ae View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    7b658ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6172486 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    976d3e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2fa43c7 View commit details
    Browse the repository at this point in the history