Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
073598ed
Unverified
Commit
073598ed
authored
Apr 06, 2021
by
yjph
Committed by
GitHub
Apr 06, 2021
Browse files
Update the location information in some URLs (#8595)
parent
808f3004
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/blocked.c
View file @
073598ed
...
@@ -566,7 +566,7 @@ void handleClientsBlockedOnKeys(void) {
...
@@ -566,7 +566,7 @@ void handleClientsBlockedOnKeys(void) {
* way we can lookup an object multiple times (BLMOVE does
* way we can lookup an object multiple times (BLMOVE does
* that) without the risk of it being freed in the second
* that) without the risk of it being freed in the second
* lookup, invalidating the first one.
* lookup, invalidating the first one.
* See https://github.com/
antirez
/redis/pull/6554. */
* See https://github.com/
redis
/redis/pull/6554. */
server
.
fixed_time_expire
++
;
server
.
fixed_time_expire
++
;
updateCachedTime
(
0
);
updateCachedTime
(
0
);
...
...
src/cluster.c
View file @
073598ed
...
@@ -3858,7 +3858,7 @@ int clusterNodeSetSlotBit(clusterNode *n, int slot) {
...
@@ -3858,7 +3858,7 @@ int clusterNodeSetSlotBit(clusterNode *n, int slot) {
* However new masters with slots assigned are considered valid
* However new masters with slots assigned are considered valid
* migration targets if the rest of the cluster is not a slave-less.
* migration targets if the rest of the cluster is not a slave-less.
*
*
* See https://github.com/
antirez
/redis/issues/3043 for more info. */
* See https://github.com/
redis
/redis/issues/3043 for more info. */
if
(
n
->
numslots
==
1
&&
clusterMastersHaveSlaves
())
if
(
n
->
numslots
==
1
&&
clusterMastersHaveSlaves
())
n
->
flags
|=
CLUSTER_NODE_MIGRATE_TO
;
n
->
flags
|=
CLUSTER_NODE_MIGRATE_TO
;
}
}
...
...
src/networking.c
View file @
073598ed
...
@@ -3360,7 +3360,7 @@ void processEventsWhileBlocked(void) {
...
@@ -3360,7 +3360,7 @@ void processEventsWhileBlocked(void) {
/* Note: when we are processing events while blocked (for instance during
/* Note: when we are processing events while blocked (for instance during
* busy Lua scripts), we set a global flag. When such flag is set, we
* busy Lua scripts), we set a global flag. When such flag is set, we
* avoid handling the read part of clients using threaded I/O.
* avoid handling the read part of clients using threaded I/O.
* See https://github.com/
antirez
/redis/issues/6988 for more info. */
* See https://github.com/
redis
/redis/issues/6988 for more info. */
ProcessingEventsWhileBlocked
=
1
;
ProcessingEventsWhileBlocked
=
1
;
while
(
iterations
--
)
{
while
(
iterations
--
)
{
long
long
startval
=
server
.
events_processed_while_blocked
;
long
long
startval
=
server
.
events_processed_while_blocked
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment