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

Cassandra Java Driver 3.1.0 Client-Side timestamp generation issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Not A Problem
    • None
    • None
    • None
    • Cassandra 2.1.15
      Cassandra Java Driver 3.1.0

    • Low

    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

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

              Dates

                Created:
                Updated:
                Resolved: