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

Valkey release 8.1.0-rc2 #1862

Merged
merged 10 commits into from
Mar 20, 2025
Merged

Conversation

ranshid
Copy link
Member

@ranshid ranshid commented Mar 18, 2025

No description provided.

Signed-off-by: Ran Shidlansik <[email protected]>
Copy link
Contributor

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

2. add RANDOMKEY inf loop bug fix

Signed-off-by: Ran Shidlansik <[email protected]>
Copy link

codecov bot commented Mar 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.02%. Comparing base (63a6516) to head (3dbe286).
Report is 1 commits behind head on 8.1.

Additional details and impacted files
@@            Coverage Diff             @@
##              8.1    #1862      +/-   ##
==========================================
- Coverage   71.06%   71.02%   -0.04%     
==========================================
  Files         123      123              
  Lines       65671    65671              
==========================================
- Hits        46667    46646      -21     
- Misses      19004    19025      +21     

see 10 files with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hwware
Copy link
Member

hwware commented Mar 18, 2025

I suggest to add the following pr:

#1721 Fix temp file leak druing replication error handling
#1785 Remove unicode optimization in Lua cjson library
#1782 valkey-cli: ensure output ends with a newline if missing when printing reply
#1760 cmd's out bytes need count deferred reply
#1799 Fix hashTypeEntryDefrag returning bad pointer

Thanks @ranshid It is a hard work.

Copy link
Member

@PingXie PingXie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ranshid!

@ranshid
Copy link
Member Author

ranshid commented Mar 18, 2025

I suggest to add the following pr:

#1721 Fix temp file leak druing replication error handling
#1785 Remove unicode optimization in Lua cjson library
#1782 valkey-cli: ensure output ends with a newline if missing when printing reply
#1760 cmd's out bytes need count deferred reply
#1799 Fix hashTypeEntryDefrag returning bad pointer

Thanks @ranshid It is a hard work.

#1721 Fix temp file leak druing replication error handling - @enjoy-binbin - should this have also been backported?

#1799 Fix hashTypeEntryDefrag returning bad pointer - @hwware this hashtype was introduced in 8.1... I am not sure we should include fixes made internally between release versions in the release docs. WDYT?

@hwware
Copy link
Member

hwware commented Mar 18, 2025

I suggest to add the following pr:
#1721 Fix temp file leak druing replication error handling
#1785 Remove unicode optimization in Lua cjson library
#1782 valkey-cli: ensure output ends with a newline if missing when printing reply
#1760 cmd's out bytes need count deferred reply
#1799 Fix hashTypeEntryDefrag returning bad pointer
Thanks @ranshid It is a hard work.

#1721 Fix temp file leak druing replication error handling - @enjoy-binbin - should this have also been backported?

#1799 Fix hashTypeEntryDefrag returning bad pointer - @hwware this hashtype was introduced in 8.1... I am not sure we should include fixes made internally between release versions in the release docs. WDYT?

#1799 Fix hashTypeEntryDefrag returning bad pointer Sorry, for this one, I think we do not need to mention it in release note.

@ranshid
Copy link
Member Author

ranshid commented Mar 18, 2025

#1799

cool. added the others

@enjoy-binbin
Copy link
Member

#1721 Fix temp file leak druing replication error handling - @enjoy-binbin - should this have also been backported?

@ranshid you means backport to 8.1? I thought we will merge everything in unstable branch into 8.1? If you mean some older version like 8.0, that is ok to do the backport since it is pretty easy i guess and there is no harm.

@ranshid
Copy link
Member Author

ranshid commented Mar 19, 2025

#1721 Fix temp file leak druing replication error handling - @enjoy-binbin - should this have also been backported?

@ranshid you means backport to 8.1? I thought we will merge everything in unstable branch into 8.1? If you mean some older version like 8.0, that is ok to do the backport since it is pretty easy i guess and there is no harm.

I did not get much into the fix, but we had dual channel since 8.0. so asking if this should be backported to 8.0?

@enjoy-binbin
Copy link
Member

I did not get much into the fix, but we had dual channel since 8.0. so asking if this should be backported to 8.0?

I believe it has been a problem since a very old version, including ours 7.2/8.0, i found in it an old version in our fork (just doing other stuff and doing a review and then i find it), it is not about dual channel, just about the replication error handling.. The leak is minor, it should only occur if ae fails, that is, if a call like connSetReadHandler fails, which is very rare i guess.

@ranshid
Copy link
Member Author

ranshid commented Mar 19, 2025

I did not get much into the fix, but we had dual channel since 8.0. so asking if this should be backported to 8.0?

I believe it has been a problem since a very old version, including ours 7.2/8.0, i found in it an old version in our fork (just doing other stuff and doing a review and then i find it), it is not about dual channel, just about the replication error handling.. The leak is minor, it should only occur if ae fails, that is, if a call like connSetReadHandler fails, which is very rare i guess.

ACK. so lets backport this fix then

Signed-off-by: Ran Shidlansik <[email protected]>
ranshid and others added 3 commits March 20, 2025 08:08
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: Ran Shidlansik <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: Ran Shidlansik <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: Ran Shidlansik <[email protected]>
Signed-off-by: Ran Shidlansik <[email protected]>
Co-authored-by: Viktor Söderqvist <[email protected]>
Signed-off-by: Ran Shidlansik <[email protected]>
@ranshid ranshid merged commit 520ac85 into valkey-io:8.1 Mar 20, 2025
57 of 59 checks passed
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.

7 participants