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

Max TTL is too big now

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • Normal

    Description

      We reject TTL’s over 20 years as being too large, but that is too big now. The current time in seconds + 20 years in seconds overflows max int as of a couple days ago, which makes the expiretime overflow and go negative causing an assertion. We need to change the max TTL so we report a nice error message rather than throwing assertions about a negative expire time.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jjordan Jeremiah Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: