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

Adding usage of must_obey_client in wrapper to improve performace #45

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

zackcam
Copy link
Contributor

@zackcam zackcam commented Feb 12, 2025

Adding a wrapper for the ValkeyModule_MustObeyClient function in order to check if commands are from the primary client or AOF client in a more efficient way. If this function does not exist we fall back to checking for replicated flag in the GetContextFlags API as a best effort.

Updating one test to use different specified reserve arguments in order to reduce the amount of items we need to add to fill up the filter which in turn will reduce the run time of the test but will still provide the same testing functionality.

@zackcam zackcam force-pushed the unstable branch 2 times, most recently from 5f86d51 to ce344e6 Compare February 17, 2025 19:08
@zackcam zackcam force-pushed the unstable branch 8 times, most recently from 71d22d4 to 97e5bab Compare February 18, 2025 20:43
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.

2 participants