-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
@spring-projects-issues
Description
Christian Bühler opened DATAREDIS-803 and commented
Redis has a limitation of 1024 * 1024 parameters for bulk operations.
To insert more than 1024 * 1024 / 2 - 1 entries with putAll(), they need to be split up into multiple HMSET commands.
To receive more than 1024 * 1024 - 1 entries with entrySet(), we can directly use the HGETALL command instead of first fetching the keys with HKEYS and then fetching the values with HMGET
Reference URL: https://github.com/antirez/redis/blob/4.0.9/src/networking.c#L1200
Referenced from: pull request #326, and commits 3e9d610, a018c14, 437ea73, 8ed4703
Backported to: 2.0.7 (Kay SR7)