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

negative rocksdb.ttl.ms is not handled correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: