Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14724

Duration addition to Date/Timestamp is broken for leapseconds

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: Legacy/Core
    • Labels:
    • Severity:
      Normal

      Description

      Hours, Minutes and Seconds are not always of the same duration; it varies when they cross a leap second (or DST boundary).  When we add durations to instants, we do not account for this (as we have by then lost the necessary information).  Duration should take (and store) all components of time.

        Attachments

          Activity

            People

            • Assignee:
              blerer Benjamin Lerer
              Reporter:
              benedict Benedict
              Authors:
              Benjamin Lerer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: