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

Remove unused valDup #443

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Conversation

eliblight
Copy link
Contributor

It turns out valDup is totally unused in the codebase

Copy link

codecov bot commented May 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.19%. Comparing base (168da8b) to head (f30c6bc).
Report is 11 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable     #443      +/-   ##
============================================
- Coverage     70.22%   70.19%   -0.04%     
============================================
  Files           109      109              
  Lines         59956    59958       +2     
============================================
- Hits          42104    42086      -18     
- Misses        17852    17872      +20     
Files Coverage Δ
src/cluster_legacy.c 86.35% <ø> (-0.11%) ⬇️
src/config.c 78.31% <ø> (ø)
src/dict.c 97.43% <100.00%> (+<0.01%) ⬆️
src/eval.c 56.02% <ø> (ø)
src/expire.c 96.51% <ø> (ø)
src/functions.c 95.58% <ø> (ø)
src/kvstore.c 96.79% <100.00%> (+<0.01%) ⬆️
src/latency.c 80.15% <ø> (ø)
src/module.c 9.65% <ø> (ø)
src/sentinel.c 0.00% <ø> (ø)
... and 4 more

... and 8 files with indirect coverage changes

@madolson
Copy link
Member

madolson commented May 8, 2024

As mentioned on slack, can you run the performance test again with more keys and post the updated performance here. As long as there is a meaningful difference, I think it would be worth pulling it.

@eliblight
Copy link
Contributor Author

For random key and small packets we will see some improvement. For larger packet the improvement is overshadowed by the overall load and is no longer measurable (though logic say it must be there however small).

@madolson
Copy link
Member

@eliblight Can you fix the DCO complaint?

deps/hiredis/async.c Outdated Show resolved Hide resolved
src/dict.c Outdated Show resolved Hide resolved
@madolson
Copy link
Member

Sorry for taking a bit to get back around to this, can you address the merge conflicts and update the PR? I'm happy with it otherwise.

@eliblight eliblight force-pushed the try-to-remove-dup branch 3 times, most recently from 20c8e67 to 3153bc0 Compare May 25, 2024 14:25
Signed-off-by: Eran Liberty <[email protected]>
PR by keeping the dict in dictSetVal and not using it.
... but mainly to make @madolson happy

Signed-off-by: Eran Liberty <[email protected]>
@eliblight
Copy link
Contributor Author

@madolson your turn

@madolson madolson merged commit 0700c44 into valkey-io:unstable Jun 3, 2024
18 checks passed
@eliblight eliblight deleted the try-to-remove-dup branch June 3, 2024 20:37
enjoy-binbin pushed a commit that referenced this pull request Jun 5, 2024
makes SERVER_CFLAGS='-DSERVER_TEST' compile as well

Introduced in #443.

Signed-off-by: Eran Liberty <[email protected]>
Co-authored-by: Eran Liberty <[email protected]>
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.

None yet

3 participants