Skip to content

Commit 8eb5ce5

Browse files
authored
Do not fanout FT.INFO command to replicas (#6960)
The current behaviour of the coordinator is not correct, because FT.INFO command reports the number of docs as actual number of docs multiplied by number of replicas
1 parent 7926b3a commit 8eb5ce5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/module.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3296,7 +3296,6 @@ int InfoCommandHandler(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)
32963296
MRCommand_SetPrefix(&cmd, "_FT");
32973297

32983298
struct MRCtx *mctx = MR_CreateCtx(ctx, 0, NULL, NumShards);
3299-
MR_SetCoordinationStrategy(mctx, false); // send to all shards (not just the masters)
33003299
MR_Fanout(mctx, InfoReplyReducer, cmd, true);
33013300
return REDISMODULE_OK;
33023301
}

0 commit comments

Comments
 (0)