Skip to content

Commit

Permalink
Fix badly resolved merge conflict
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Söderqvist <[email protected]>
  • Loading branch information
zuiderkwast committed May 23, 2024
1 parent 7f8edc1 commit b1461ee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -1122,13 +1122,9 @@ getNodeByQuery(client *c, struct serverCommand *cmd, robj **argv, int argc, int
/* MIGRATE always works in the context of the local node if the slot
* is open (migrating or importing state). We need to be able to freely
* move keys among instances in this case. */
<<<<<<< HEAD
if ((migrating_slot || importing_slot) && cmd->proc == migrateCommand && clusterNodeIsMaster(myself)) {
return myself;
}
=======
if ((migrating_slot || importing_slot) && cmd->proc == migrateCommand) return myself;
>>>>>>> unstable

/* If we don't have all the keys and we are migrating the slot, send
* an ASK redirection or TRYAGAIN. */
Expand Down

0 comments on commit b1461ee

Please sign in to comment.