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

Default timestamp for QueryOptions should be Long.MIN_VALUE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.2
    • Legacy/CQL
    • None
    • Normal

    Description

      CASSANDRA-8139 adds proper handling for negative timestamps, but one case was missed in the merge to cassandra-2.1.
      QueryOptions.SpecificOptions.DEFAULT is still created with a timestamp of -1, so statements which do not come in via the native protocol will retain this timestamp and not be assigned a server-side timestamp at execution time.QueryOptions.Codec does the right thing, so statements that do come via the protocol are unaffected.

      Attachments

        1. 8246.txt
          6 kB
          Sam Tunnicliffe

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: