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

Max ttl of 20 years will overflow localDeletionTime

    XMLWordPrintableJSON

Details

    • 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. 2.1-14092-dtest.png
          56 kB
          Paulo Motta
        2. 3.11-14092-testall.png
          128 kB
          Paulo Motta
        3. 2.1-14092-testall.png
          31 kB
          Paulo Motta
        4. 2.2-14092-dtest.png
          51 kB
          Paulo Motta
        5. 3.11-14092-dtest.png
          92 kB
          Paulo Motta
        6. 2.2-14092-testall.png
          101 kB
          Paulo Motta
        7. 3.0-14092-testall.png
          150 kB
          Paulo Motta
        8. trunk-14092-dtest.png
          90 kB
          Paulo Motta
        9. 3.0-14092-dtest.png
          70 kB
          Paulo Motta
        10. trunk-14092-testall.png
          131 kB
          Paulo Motta

        Issue Links

          Activity

            People

              pauloricardomg Paulo Motta
              pauloricardomg Paulo Motta
              Paulo Motta
              Sam Tunnicliffe
              Votes:
              2 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: