Is there any plan to upgrade LUA in redis to 5.4?

46 visualizzazioni
Passa al primo messaggio da leggere

lei zhang

da leggere,
12 mag 2022, 11:15:1812/05/22
a Redis DB
Lua 5.1 has security issues, but  latest redis 7.0 still use 5.1. Do we have any plan to upgrade Lua to 5.4 or later?  thanks!

Itamar Haber

da leggere,
12 mag 2022, 11:24:2212/05/22
a Redis DB
Hi Leiz,

Redis is "stuck" with Lua 5.1 because later versions are not backward-compatible. Had the project upgraded to 5.4, deployments would have broken all around the world.

Until v7, the Lua engine was 1) single and 2) embedded. Part of the work done on Redis Functions in Redis 7 was to support multiple execution engines. It could be that in the (near) future a Lua 5.4 would be included as an alternative.

That said, the real question is why would one prefer 5.4 over 5.1, so any input you can provide on this is helpful :)

Cheers,
Itamar

P.S. you can search the repo for PRs/issues with Lua to get more context on the matter.

Veera Alagappan

da leggere,
4 lug 2022, 00:19:0104/07/22
a Redis DB
Hi Itamar,
Do you have any planned release date to update the lua version in the upcoming redis versions at this point of time?

Thanks,
Veera

Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi