Skip to content

Update Valkey startup infomation and other output infomation for Valk…#205

Closed
hwware wants to merge 1 commit into
valkey-io:unstablefrom
hwware:Valkey-server-message
Closed

Update Valkey startup infomation and other output infomation for Valk…#205
hwware wants to merge 1 commit into
valkey-io:unstablefrom
hwware:Valkey-server-message

Conversation

@hwware

@hwware hwware commented Apr 4, 2024

Copy link
Copy Markdown
Contributor

Fix Valkey server startup message issue as below

image

And update some output messages

We will rebase after pr #206 is merged

…ey server

Signed-off-by: hwware <wen.hui.ware@gmail.com>
@hwware hwware requested review from madolson and zuiderkwast April 4, 2024 16:10

@madolson madolson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should decouple the error changes from the other messages here, which I think are easier to make a decision about.

Comment thread src/server.c
"-LOADING Server is loading the dataset in memory\r\n"));
shared.slowevalerr = createObject(OBJ_STRING,sdsnew(
"-BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE.\r\n"));
"-BUSY Server is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE.\r\n"));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

At AWS we have this hardcoded. there are other places this stuff seems hardcoded: https://github.com/netty/netty/blob/fee3c39d0835ec18d7aace8776db5c5952ce8272/codec-redis/src/main/java/io/netty/handler/codec/redis/FixedRedisMessagePool.java#L44

I think this need to be more thoughtfully considered for compatibility. I'm leaning towards we just accept this as a compatibility problem forever.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Agree, don't change error replies. We'll not do that in the compat release.

Besides, I have a PR for those specifically: #206

@hwware

hwware commented Apr 4, 2024

Copy link
Copy Markdown
Contributor Author

I think we should decouple the error changes from the other messages here, which I think are easier to make a decision about.

After I rebase #206, I will make the changes only for Valkey server startup issue

@zuiderkwast

zuiderkwast commented Apr 4, 2024

Copy link
Copy Markdown
Contributor

I think we decided not to change any logging in the compatibility release. If we follow that strictly, that would mean we can't even change this one, which is like a title:

"oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo"

Shall we make a few exceptions and change this line and a few others in the compat release?

Logging isn't as high risk as error messages though, is it?

Comment thread src/server.c

serverLog(LL_WARNING,"%s is now ready to exit, bye bye...",
server.sentinel_mode ? "Sentinel" : "Redis");
server.sentinel_mode ? "Sentinel" : "Server");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

somehow in here, i prefer Valkey?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Agree with @enjoy-binbin. It's like a greeting. Similar to the logo and this one;

oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo

We can replace that "starting" message with Valkey and different graphics instead of oO0Oo...

Comment thread src/server.c
Comment on lines 5303 to +5306
void commandHelpCommand(client *c) {
const char *help[] = {
"(no subcommand)",
" Return details about all Redis commands.",
" Return details about all Valkey commands.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's do help commands in a separate PR too. I did this without seeing your change: #216

@zuiderkwast

Copy link
Copy Markdown
Contributor

This one is partially doing #207.

I believe we decided to skip this for 7.2.4 but I think we should reconsider it. We should at least not printing "Redis is starting" and the Redis logo. If we change those, we can as well change the other occurrences of Redis in the logging.

I'm going to mark this as a major decision. It is about whether to include logging changes in 7.2.4 or if we will postpone it to 8.0.0.

@zuiderkwast zuiderkwast added the major-decision-pending Major decision pending by TSC team label Apr 5, 2024

@zuiderkwast zuiderkwast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR is a mix of logging, error replies and HELP output. It's better that we do this in separate PRs. There are also issues for all of these. See #25.

Some of this is already done in other PRs and merged.

@hwware Do you want to re-purpose this PR to do only the logging changes?

@zuiderkwast zuiderkwast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Don't merge. See #207 (and other issues).

@zuiderkwast zuiderkwast removed the major-decision-pending Major decision pending by TSC team label Apr 11, 2024
@hwware

hwware commented Apr 23, 2024

Copy link
Copy Markdown
Contributor Author

Since startup information has been updated in other PR, i prefer to close this PR,

@hwware hwware closed this Apr 23, 2024
bjosv added a commit to bjosv/valkey that referenced this pull request Aug 20, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..d95a5ee9a

9e10acbf7 Fix duplicate Acks for RDMA events. (valkey-io#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (valkey-io#205)
178e350c7 Cluster code cleanup (valkey-io#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (valkey-io#212)
279125e22 Spelling (valkey-io#213)
99aa158bc Use existing connections for blocking slotmap updates (valkey-io#199)
f670346b9 Only install headers for `TLS` and `RDMA` when enabled in CMake (valkey-io#206)
41c5911f1 Remove macro UNUSED from public API (valkey-io#200)
969a8c546 Fix dependency issue with RDMA (valkey-io#201)

git-subtree-dir: deps/libvalkey
git-subtree-split: d95a5ee9ad95b9ee7f298f38d0fb93f3f7659ef7

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
bjosv added a commit to bjosv/valkey that referenced this pull request Aug 20, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..b012f8e85

b012f8e85 Release 0.2.1
9e10acbf7 Fix duplicate Acks for RDMA events. (valkey-io#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (valkey-io#205)
178e350c7 Cluster code cleanup (valkey-io#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (valkey-io#212)
99aa158bc Use existing connections for blocking slotmap updates (valkey-io#199)
969a8c546 Fix dependency issue with RDMA (valkey-io#201)

git-subtree-dir: deps/libvalkey
git-subtree-split: b012f8e85a9cc2c68bc2be982a4f6545c15042f0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
bjosv added a commit to bjosv/valkey that referenced this pull request Aug 21, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..b012f8e85

b012f8e85 Release 0.2.1
9e10acbf7 Fix duplicate Acks for RDMA events. (valkey-io#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (valkey-io#205)
178e350c7 Cluster code cleanup (valkey-io#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (valkey-io#212)
99aa158bc Use existing connections for blocking slotmap updates (valkey-io#199)
969a8c546 Fix dependency issue with RDMA (valkey-io#201)
...

git-subtree-dir: deps/libvalkey
git-subtree-split: b012f8e85a9cc2c68bc2be982a4f6545c15042f0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
bjosv added a commit to bjosv/valkey that referenced this pull request Aug 21, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..b012f8e85

b012f8e85 Release 0.2.1
9e10acbf7 Fix duplicate Acks for RDMA events. (valkey-io#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (valkey-io#205)
178e350c7 Cluster code cleanup (valkey-io#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (valkey-io#212)
99aa158bc Use existing connections for blocking slotmap updates (valkey-io#199)
969a8c546 Fix dependency issue with RDMA (valkey-io#201)
...

git-subtree-dir: deps/libvalkey
git-subtree-split: b012f8e85a9cc2c68bc2be982a4f6545c15042f0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
zuiderkwast pushed a commit that referenced this pull request Aug 21, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..b012f8e85

b012f8e85 Release 0.2.1
9e10acbf7 Fix duplicate Acks for RDMA events. (#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (#205)
178e350c7 Cluster code cleanup (#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (#212)
99aa158bc Use existing connections for blocking slotmap updates (#199)
969a8c546 Fix dependency issue with RDMA (#201)
...

git-subtree-dir: deps/libvalkey
git-subtree-split: b012f8e85a9cc2c68bc2be982a4f6545c15042f0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
rjd15372 pushed a commit to rjd15372/valkey that referenced this pull request Sep 19, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..b012f8e85

b012f8e85 Release 0.2.1
9e10acbf7 Fix duplicate Acks for RDMA events. (valkey-io#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (valkey-io#205)
178e350c7 Cluster code cleanup (valkey-io#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (valkey-io#212)
99aa158bc Use existing connections for blocking slotmap updates (valkey-io#199)
969a8c546 Fix dependency issue with RDMA (valkey-io#201)
...

git-subtree-dir: deps/libvalkey
git-subtree-split: b012f8e85a9cc2c68bc2be982a4f6545c15042f0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
rjd15372 pushed a commit that referenced this pull request Sep 23, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..b012f8e85

b012f8e85 Release 0.2.1
9e10acbf7 Fix duplicate Acks for RDMA events. (#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (#205)
178e350c7 Cluster code cleanup (#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (#212)
99aa158bc Use existing connections for blocking slotmap updates (#199)
969a8c546 Fix dependency issue with RDMA (#201)
...

git-subtree-dir: deps/libvalkey
git-subtree-split: b012f8e85a9cc2c68bc2be982a4f6545c15042f0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
hpatro pushed a commit to hpatro/valkey that referenced this pull request Oct 3, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..b012f8e85

b012f8e85 Release 0.2.1
9e10acbf7 Fix duplicate Acks for RDMA events. (valkey-io#229)
1eadedf48 Remove the unused valDup API from dict
a449f0ea1 Don't expose internal functions in shared libraries (valkey-io#205)
178e350c7 Cluster code cleanup (valkey-io#216)
4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (valkey-io#212)
99aa158bc Use existing connections for blocking slotmap updates (valkey-io#199)
969a8c546 Fix dependency issue with RDMA (valkey-io#201)
...

git-subtree-dir: deps/libvalkey
git-subtree-split: b012f8e85a9cc2c68bc2be982a4f6545c15042f0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
Signed-off-by: Harkrishn Patro <harkrisp@amazon.com>
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.

4 participants