Skip to content

Why is it used CLOCK_MONOTONIC during initialization, but CLOCK_REALTIME during runtime? #213

Description

@renguorong

Why is app_time fetched via CLOCK_MONOTONIC in addslave and active (for DC distributed clock initialization), yet switches to CLOCK_REALTIME during periodic operation? Slave hardware may not jump abruptly, but the master's app_time still changes. What’s the rationale for this design?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions