Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-838

negative rocksdb.ttl.ms is not handled correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.10.1
    • None
    • None

    Description

      Samza supports TTL since SAMZA-537 . From https://github.com/facebook/rocksdb/wiki/Time-to-Live, if ttl is negative, ttl won't happen. But in Samza code base(RocksDbKeyValueStore.scala), if user specifies negative rocksdb.ttl.ms, Samza will treat it as 1 second ttl. I am not sure if this is intended or just a trivial bug. I could provide a quick fix for this issue if needed.

      Attachments

        1. SAMZA-838.2.patch
          1 kB
          Tao Feng
        2. SAMZA-838.1.patch
          1 kB
          Tao Feng

        Activity

          People

            TaoFeng Tao Feng
            TaoFeng Tao Feng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: