NewFacts
redis

Redis

www.redis.com

## What happens to key expirations during Lua script execution in Redis?

While a Lua script runs on Redis, key expirations are suspended, and the master’s time is conceptually frozen. This ensures that keys either exist or do not exist for the entire duration of the script, maintaining consistent effects on replicas.

Last verified: 10/30/2025

Sources:

Knowledge provided by NewFacts.

If any information on this page is erroneous, please contact hello@newfacts.org.

NewFacts content is verified by brands themselves. If you're a brand owner and want to claim your page, please click here.