Comments (5)
redis 7.0 behaves the same as redis 6.2, the error only appears in redis 7.2. For reference, these are the redis versions (though I'm just pulling 7.0 and 7.2 tags from docker).
good
redis_version:7.0.13
redis_build_id:8a3b90fcd3d0bc72
os:Linux 6.7.6-200.fc39.x86_64 x86_64
bad
redis_version:7.2.4
redis_build_id:30468499a8bc54fe
os:Linux 6.7.6-200.fc39.x86_64 x86_64
from redis.
@mdouglass thanks, ths is a bug introducted by #10587.
fpconv_dtoa
uses exponential expressions to convert 1000000000 (2e+8) and lead to convert failed in getLongLongFromObjectOrReply()
.
do you wanna make a PR to fix it?
from redis.
yes, it is a bug introduced in #10587. so it looks like we should revert the changes in script_lua.c in #10587? or should we find a way to support converting it in string2ll (i feel it is a bit too much)
from redis.
@enjoy-binbin i don't like to put it in string2ll
.
may be we can check if the lua_Number is a integer by (long long)num == num
, then
decide whether to use fpconv_dtoa
or ll2string
.
from redis.
I think that was enough guidance that I was able to figure out what to do. Let me know if there is anything else that I can do to make this work better.
from redis.
Related Issues (20)
- Implement HSETXX HOT 2
- Suggestion for each publish and subscribe as ACL_CATEGORY
- [QUESTION] Thoughts on Multithreading Implementation
- [BUG] Client Side Caching and Redirect inconsistency HOT 2
- The Linux command sysctl -wvm.drop_caches=3 was executed, and the process started on port 6379 exited[BUG]
- Redis Sentinel not connected HOT 1
- Memory Leak in Slaves (redis cluster) HOT 2
- [QUESTION] bgsave is frequently and aof fsync is slow HOT 3
- [QUESTION] Are replica reads supposed to work with client side caching HOT 2
- improvements around Lua Scripts memory usage
- Is there a equivalent of "sentinel info-cache" when cluster enabled. HOT 1
- [BUG] Faied to test for arm64 COW bug HOT 2
- [NEW] Improve "SENTINEL FAILOVER" by using the "FAILOVER" command
- Redis server stopped evicting Mar 1 at midnight HOT 2
- [BUG] Migrate hashes with million of keys timeout, and causes failover HOT 10
- [BUG] - Getting memory crash issue when trying to load data in redis-stack through docker
- [QUESTION] Why does HKEYS return an array and not a set in RESP3? HOT 1
- [CRASH] Guru Meditation: Unknown object type #rdb.c:669 HOT 15
- [BUG] Redis Upgrading from version 5.0.4 to 7.2.4 failed in Redis cluster
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis.