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

feat(lua): add missing no-op redis.replicate_commands() #2472

Merged
merged 3 commits into from
Jan 28, 2024
Merged

Conversation

kostasrim
Copy link
Contributor

fixes #2468

  • add no-op lua function redis.replicate_commands()

@kostasrim kostasrim self-assigned this Jan 25, 2024
@EvertonSA
Copy link

amazing brotherrr

@EvertonSA
Copy link

if there is a docker i can test, let me know

@kostasrim
Copy link
Contributor Author

kostasrim commented Jan 25, 2024

if there is a docker i can test, let me know

we got a weekly docker build. Not sure if @romange wants to trigger this earlier

p.s.

happy to help :)

@@ -264,3 +264,12 @@ async def test_lua_auto_async(async_client: aioredis.Redis):

flushes = (await async_client.info("transaction"))["eval_squashed_flushes"]
assert 1 <= flushes <= 3 # all 100 commands are executed in at most 3 batches


@dfly_args({"proactor_threads": 4, "lua_auto_async": None})
Copy link
Collaborator

Choose a reason for hiding this comment

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

I prefer testing this via interpreter_test.cc no need for regression tests for this :)

@adiholden adiholden merged commit 754a186 into main Jan 28, 2024
10 checks passed
@adiholden adiholden deleted the kpr1 branch January 28, 2024 11:05
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.

introduce redis.replicate_commands() in lua
4 participants