Cleanup redundant incrRefCount and fix new_argv alloc size around HDEL#4059
Conversation
Two minor cleanups: - Remove unnecessary incrRefCount(shared.hdel) just like other shared object. - Fix new_argv allocation size since HDEL only need (num_fields + 2) size. Signed-off-by: Binbin <binloveplay1314@qq.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adjusts two hash expiration rewrite paths so the generated ChangesHash expiration rewrite paths
Sequence Diagram(s)Estimated Code Review Effort🎯 1 (Trivial) | ⏱️ ~4 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #4059 +/- ##
============================================
- Coverage 76.79% 76.73% -0.06%
============================================
Files 162 162
Lines 81026 81024 -2
============================================
- Hits 62222 62172 -50
- Misses 18804 18852 +48
🚀 New features to boost your workflow:
|
hpatro
left a comment
There was a problem hiding this comment.
Thanks. incrRefCount has no effect on shared objects, obvious for Valkey developer, not for AI model I guess. We could figure out how to pass more context to AI model about Valkey codebase.
Two minor cleanups: