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

cassandra-cli use micro second timestamp, but CQL use milli second

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.0.0
    • Component/s: Legacy/CQL
    • Labels:
    • Severity:
      Normal

      Description

      cassandra-cli set micro second timestamp by FBUtilities.timestampMicros. But CQL insert or update operation set milli second timestamp by AbstractModification.getTimestamp.

      If you register data by cassandra-cli, you can't update data by CQL. Because CQL timestamp is judged as past time.

        Attachments

        1. 3227.txt
          7 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              sabro Sabro Boucher
              Authors:
              Jonathan Ellis
              Reviewers:
              Sabro Boucher
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: