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

[21314] Improve resilience against clock adjustments #5018

Merged
merged 10 commits into from
Sep 2, 2024

Commits on Aug 28, 2024

  1. Use steady_clock instead of high_resolution_clock for status checks (…

    …high_resolution_clock might not be steady depending on STL impl)
    
    Signed-off-by: Matthias Schneider <[email protected]>
    ma30002000 authored and MiguelCompany committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d69eb91 View commit details
    Browse the repository at this point in the history
  2. Use steady_clock instead for system_clock for calculating timeouts

    Signed-off-by: Matthias Schneider <[email protected]>
    ma30002000 authored and MiguelCompany committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    03532f3 View commit details
    Browse the repository at this point in the history
  3. Use correct clock's duration for duration_cast

    Signed-off-by: Matthias Schneider <[email protected]>
    ma30002000 authored and MiguelCompany committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8c993da View commit details
    Browse the repository at this point in the history
  4. Use Time_t::now()

    Signed-off-by: Matthias Schneider <[email protected]>
    ma30002000 authored and MiguelCompany committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d27f4ad View commit details
    Browse the repository at this point in the history
  5. Fix build.

    Signed-off-by: Miguel Company <[email protected]>
    MiguelCompany committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d4d2ba4 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Refs #21314. Refactor on DataWriterImpl.

    Signed-off-by: Miguel Company <[email protected]>
    MiguelCompany committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6078402 View commit details
    Browse the repository at this point in the history
  2. Refs #21314. Refactor on DataReaderImpl.

    Signed-off-by: Miguel Company <[email protected]>
    MiguelCompany committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c3867e7 View commit details
    Browse the repository at this point in the history
  3. Refs #21314. Refactor on StatefulWriter.

    Signed-off-by: Miguel Company <[email protected]>
    MiguelCompany committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d5e2ecc View commit details
    Browse the repository at this point in the history
  4. Refs #21314. Protect current_time_since_unix_epoch against clock adju…

    …stments.
    
    Signed-off-by: Miguel Company <[email protected]>
    MiguelCompany committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3d20ab3 View commit details
    Browse the repository at this point in the history
  5. Revert "Use steady_clock instead of high_resolution_clock for status …

    …checks (high_resolution_clock might not be steady depending on STL impl)"
    
    This reverts commit d69eb91.
    MiguelCompany committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f94d111 View commit details
    Browse the repository at this point in the history