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

resource: round timestamp of drained ranks #5866

Merged
merged 1 commit into from
Apr 8, 2024

Commits on Apr 7, 2024

  1. resource: round drain timestamps to nearest whole seconds

    Problem: Timestamps for drained nodes are kept with sub-microsecond
    precision. This causes the drain object in the resource.status response
    to be much less compressible with arguably little benefit. It also
    reduces the number of lines that can be coalesced in `flux resource
    drain`.
    
    Round timestamps while building the drainset object. This reduces
    the drain object size when a significant number of ranks are drained
    within the same second.
    grondo committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    52e9d0d View commit details
    Browse the repository at this point in the history