Skip to content

Migrere til Valkey #80

Description

@fkjorstad

Vi i Team Salg ser en liten raritet i order etter oppgradering til springboot 4. Den oppgraderer også Spring Data Redis. Dette er en ufarlig advarsel, men den er støyete under oppstart. Er det mulig å se på forbedringer slik at vi får bort advarselen? For eksempel kan det være aktuelt å migrere til Valkey i Google som trolig støtter denne operasjonen og Google reklamerer med.

CAS/CAD for value operations not supported, falling back to Lua script. org.springframework.data.redis.RedisSystemException: Error in execution
	at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:68)
	at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:66)
	at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:44)
	at org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:39)
	at org.springframework.data.redis.FallbackExceptionTranslationStrategy.translate(FallbackExceptionTranslationStrategy.java:38)
	at org.springframework.data.redis.connection.lettuce.LettuceConnection.convertLettuceAccessException(LettuceConnection.java:314)
	at org.springframework.data.redis.connection.lettuce.LettuceConnection.await(LettuceConnection.java:1014)
	at org.springframework.data.redis.connection.lettuce.LettuceConnection.lambda$doInvoke$2(LettuceConnection.java:451)
	at org.springframework.data.redis.connection.lettuce.LettuceInvoker$Synchronizer.invoke(LettuceInvoker.java:665)
	at org.springframework.data.redis.connection.lettuce.LettuceInvoker$DefaultSingleInvocationSpec.get(LettuceInvoker.java:583)
	at org.springframework.data.redis.connection.lettuce.LettuceKeyCommands.delex(LettuceKeyCommands.java:117)
	at org.springframework.data.redis.core.RedisTemplate.lambda$delete$2(RedisTemplate.java:640)
	at org.springframework.data.redis.core.RedisTemplate.lambda$doWithKeys$0(RedisTemplate.java:853)
	at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:417)
	at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:384)
	at org.springframework.data.redis.core.RedisTemplate.doWithKeys(RedisTemplate.java:853)
	at org.springframework.data.redis.core.RedisTemplate.delete(RedisTemplate.java:640)
	at org.springframework.integration.redis.util.RedisLockRegistry$RedisSpinLock.removeLockKeyInnerUnlink(RedisLockRegistry.java:923)
	at org.springframework.integration.redis.util.RedisLockRegistry$RedisLock.removeLockKey(RedisLockRegistry.java:636)
	at org.springframework.integration.redis.util.RedisLockRegistry$RedisLock.lambda$unlock$0(RedisLockRegistry.java:595)

Vi bruker i dag Redis Memorystore i order:

Image

Ref innlegg på Slack: https://entur.slack.com/archives/C74MHDLBX/p1746533886632899

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions