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

Cassandra Java Driver 3.1.0 Client-Side timestamp generation issue

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Cassandra 2.1.15
      Cassandra Java Driver 3.1.0

      Description

      I use cassandra driver java to do some insert operation.I notice that Cassandra Java Driver use client-side timestamp as default.

      I make my client server one hour ahead than my cassandra server,then i insert some record to an exist table and use sstable2json tool to check my record ' s timestamp.

      i find out that if i insert a record with ifnotexist,the record's timestamp used server-side timestamp,otherwise it use client-side timestamp.

      I think this is a very strange result.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Lyss Ye Liang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: