Skip to content

Save is_warm_boot as global value for multi threads#24

Merged
vincentchiang-ec merged 1 commit into202311.Xfrom
is_warm_boot
Oct 17, 2025
Merged

Save is_warm_boot as global value for multi threads#24
vincentchiang-ec merged 1 commit into202311.Xfrom
is_warm_boot

Conversation

@chiourung
Copy link
Copy Markdown

Fix error log
RuntimeError: RedisError: Failed to redisGetReply with *3\r\n$4\r\nHGET\r\n$30\r\nWARM_RESTART_ENABLE_TABLE|pmon\r\n$6\r\nenable\r\n, err=0: errstr=

When two threads send Redis commands simultaneously on one shared connection, their request/reply streams can interleave or corrupt.

Description

Motivation and Context

How Has This Been Tested?

Additional Information (Optional)

Fix error log
RuntimeError: RedisError: Failed to redisGetReply with *3\r\n$4\r\nHGET\r\n$30\r\nWARM_RESTART_ENABLE_TABLE|pmon\r\n$6\r\nenable\r\n, err=0: errstr=

When two threads send Redis commands simultaneously on one shared connection,
their request/reply streams can interleave or corrupt.
@vincentchiang-ec vincentchiang-ec merged commit 999e5f2 into 202311.X Oct 17, 2025
1 check passed
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