The GitHub Actions job "CI" on kvrocks.git has succeeded.
Run started by GitHub user enjoy-binbin (triggered by torwig).

Head commit for run:
30bb03a1d13972f50eb7d36dc3bd61fa0ef3030e / Binbin <binloveplay1...@qq.com>
Fix plain GETEX wrongly removing expiration time

The plain GETEX will remove the expiration time, since we
always do `metadata.expire = expire` and then write. In this
case, we will write expire = 0, causing the expiration time
to be erased.

Before:
```
127.0.0.1:6666> set foo bar ex 1000
OK
127.0.0.1:6666> ttl foo
(integer) 996
127.0.0.1:6666> getex foo
"bar"
127.0.0.1:6666> ttl foo
(integer) -1
```

After:
```
127.0.0.1:6666> set foo bar ex 1000
OK
127.0.0.1:6666> ttl foo
(integer) 998
127.0.0.1:6666> getex foo
"bar"
127.0.0.1:6666> ttl foo
(integer) 995
```

Report URL: https://github.com/apache/kvrocks/actions/runs/5466829731

With regards,
GitHub Actions via GitBox

Reply via email to