Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.0.4 #382

Merged
merged 11 commits into from
Nov 2, 2021
Merged

Release 2.0.4 #382

merged 11 commits into from
Nov 2, 2021

Conversation

ShooterIT
Copy link
Member

New features

Improvements

Bugfixes

caipengbo and others added 11 commits November 2, 2021 15:37

Co-authored-by: Wang Yuan <wangyuancode@163.com>
Redis regards the Lua scripts as memory cache which would
lost after restarting, but we prefer persisting into the disk 
which also can save some memory usage. The only side effect was 
all history scripts would be stored, but we think
it's ok since scripts shouldn't be too many.

Co-authored-by: Wang Yuan <wangyuancode@163.com>
We implement the builtin function `redis.log()` for the Lua script,
but the log level was different between Redis and Kvrocks, so we
choose to keep consistency with Redis's log level to avoid compatible
problem with below mappings(which would make the legacy script happy):

LOG_DEBUG   => NULL
LOG_VERBOSE => INFO
LOG_NOTICE  => INFO
LOG_WARNING => WARNING

LOG_DEBUG would never work since the debug level make no sense in kvrocks
@ShooterIT ShooterIT requested a review from git-hulk November 2, 2021 08:00
@ShooterIT ShooterIT merged commit 8374af2 into apache:2.0 Nov 2, 2021
@ShooterIT ShooterIT deleted the 2.0.4 branch November 3, 2021 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants