-
Notifications
You must be signed in to change notification settings - Fork 999
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
Replication should only execute deterministic commands #604
Comments
Also RENAME should be implemented as "RESTORE" and "DEL", imho |
Why should you encode the whole value just to rename it? Doesn't that slow down the whole flow a lot? |
Because how we allocate from heap per thread. If we move objects without
copying it messes up stats.
Rename is a management command and it can be slow
…On Fri, Jan 6, 2023, 08:41 Vladislav ***@***.***> wrote:
Why should you encode the whole value just to rename it? Doesn't that slow
down the whole flow a lot?
—
Reply to this email directly, view it on GitHub
<#604 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4BFCAMCFGIH33OGDCUQKDWQ65DFANCNFSM6AAAAAATJRELFI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
More commands to rewrite |
The non deterministic commands that need to be rewrite: |
You already listed them 😅 Lets exclude the blocking ones in this issue and strike through the ones that were implemented: spop and {p}expire{at} |
@dranikpg I think you finished this one right? |
I think yes |
f.e
spop
The text was updated successfully, but these errors were encountered: