Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Work around Redis parameter limitation [DATAREDIS-803] #1376

Closed
Assignees
Labels
@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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /