apache / apache/kvrocks

EVALSHA allows to run if all commands are readonly in replica

Open
#2,862 12 comments 1 reaction 1 assignee Claimed by @LindaSummer View on GitHub
enhancement help wanted
Dominant language
C++
Stars
4.4k
Forks
658
Avg merge
1d 20h
Merged PRs (30d)
10

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.

### Motivation

Redis allows the EVALSHA/EVAL command to run the read-only commands in replica, but Kvrocks don't. So we would like to support this to keep consistent behavior with Redis.

For more context, please refer to: https://lists.apache.org/thread/f6n8qpl2fnho472b63o7r4d7ygsqz3t4

### Solution

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.