Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ int FlatSearchCommandHandler(RedisModuleBlockedClient *bc, RedisModuleString **a
struct MRCtx *mrctx = MR_CreateCtx(ctx, req);
// we prefer the next level to be local - we will only approach nodes on our own shard
// we also ask only masters to serve the request, to avoid duplications by random
MR_SetCoordinationStrategy(mrctx, MRCluster_FlatCoordination);
MR_SetCoordinationStrategy(mrctx, MRCluster_FlatCoordination | MRCluster_MastersOnly);

MRCtx_SetReduceFunction(mrctx, searchResultReducer);
MRCtx_SetRedisCtx(mrctx, bc);
Expand Down