[OPENDJ-2719] PDB entries cannot be larger than 4MB Created: 25/Feb/16  Updated: 03/Mar/20  Resolved: 14/Mar/16

Status: Done
Project: OpenDJ
Component/s: backends
Affects Version/s: 4.0.0, 3.0.0
Fix Version/s: 4.0.0, 3.5.0

Type: Bug Priority: Major
Reporter: Chris Ridd Assignee: Yannick Lecaillez
Resolution: Fixed Votes: 0
Labels: Verified, release-notes

Issue Links:
Backport
is backported by OPENDJ-2779 Backport OPENDJ-2719: PDB entries can... Done
QA Assignee: Ondrej Fuchsik
Backports: OPENDJ-2779 (3.0.1)

 Description   

It is impossible to add an entry larger than 4MB to a PDB backend. For example, adding a static group of 150k members results in this error from ldapmodify:

Processing ADD request for cn=Large Group,ou=Groups,dc=example,dc=com
ADD operation failed
Result Code: 80 (Other)
Additional Information: Unchecked exception during database transaction: Requested size=8298822 exceeds maximum size=4194304

Attempting to add the same entry to a JE backend succeeds.

NB: the LDAP connection handler being used in both cases had its max-request-size property increased to 10mb.

The thread on the community forums reporting this is at https://forgerock.org/topic/static-group/



 Comments   
Comment by Ondrej Fuchsik [ 21/Mar/16 ]
Verified with
OpenDJ version Backend used Revision
4.0.0 PDB 393a25f3ac6c3909602a9164322d3e79ae6e670c
Generated at Tue Oct 27 05:58:41 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.