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

Max ttl of 20 years will overflow localDeletionTime

    XMLWordPrintableJSON

    Details

    • Severity:
      Critical

      Description

      CASSANDRA-4771 added a max value of 20 years for ttl to protect against year 2038 overflow bug for localDeletionTime.

      It turns out that next year the localDeletionTime will start overflowing with the maximum ttl of 20 years (System.currentTimeMillis() + ttl(20 years) > Integer.MAX_VALUE), so we should remove this limitation.

        Attachments

        1. trunk-14092-testall.png
          131 kB
          Paulo Motta (Deprecated)
        2. 3.0-14092-dtest.png
          70 kB
          Paulo Motta (Deprecated)
        3. trunk-14092-dtest.png
          90 kB
          Paulo Motta (Deprecated)
        4. 3.0-14092-testall.png
          150 kB
          Paulo Motta (Deprecated)
        5. 2.2-14092-testall.png
          101 kB
          Paulo Motta (Deprecated)
        6. 3.11-14092-dtest.png
          92 kB
          Paulo Motta (Deprecated)
        7. 2.2-14092-dtest.png
          51 kB
          Paulo Motta (Deprecated)
        8. 2.1-14092-testall.png
          31 kB
          Paulo Motta (Deprecated)
        9. 3.11-14092-testall.png
          128 kB
          Paulo Motta (Deprecated)
        10. 2.1-14092-dtest.png
          56 kB
          Paulo Motta (Deprecated)

          Issue Links

            Activity

              People

              • Assignee:
                pauloricardomg Paulo Motta (Deprecated)
                Reporter:
                pauloricardomg Paulo Motta (Deprecated)
                Authors:
                Paulo Motta (Deprecated)
                Reviewers:
                Sam Tunnicliffe
              • Votes:
                2 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: