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

Change nanoTime() to currentTimeInMillis() in schema related code.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.1.3
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      From nanoTime() description:

      "The value returned represents nanoseconds since some fixed but arbitrary time (perhaps in the future, so values may be negative). This method provides nanosecond precision, but not necessarily nanosecond accuracy. No guarantees are made about how frequently values change."

      Also see http://www.mail-archive.com/dev@cassandra.apache.org/msg04992.html

        Attachments

        1. CASSANDRA-4432.patch
          3 kB
          Pavel Yaskevich

          Activity

            People

            • Assignee:
              xedin Pavel Yaskevich
              Reporter:
              xedin Pavel Yaskevich
              Authors:
              Pavel Yaskevich
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: