I'm trying to figure out when I try to use Redisclient with Async operations with command flag as Fire and Forget, out of 5 stringSet only 3 is getting set 2 strings are not available in the server. Is it right to mix both Async and FireAndForget ?
Following is the code I tried, when called 5 times I could see only 3 values are set.
return await _redisDBClient.StringSetAsync(key, value, flags: CommandFlags.FireAndForget);
CommandFlags.FireAndForgetis returning immediately so it is meaningless using it withredis.XxxAsynccalls. In this situation, if redis reply with an error to any of the operations,StackExchange.Rediswill ignore those errors.Source: docs