Closed
Description
val kotlinVer = "1.7.0"
id("org.springframework.boot") version "2.6.1"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
@Repository
interface PlayerRepository : CrudRepository<Player, MemberId> {}
playerRepository.findByIdOrNull()
--> If you use it like the above, there will be cases where there is no data even if there is data
If there is a delay due to the large number of requests, sometimes the result is null.
Internally, it seems to use the dispatch(<T> RedisCommand<K, V, T> dispatch(RedisCommand<K, V, T> command))
method in the io.lettuce.core.api.StatefulConnection.interface
. Is it related?
Is there a way to make the data reconciliation come out non-null?