[OPENDJ-6054] Optimize EntityTagVirtualAttributeProvider Created: 05/Mar/19  Updated: 08/Nov/19  Resolved: 06/Mar/19

Status: Done
Project: OpenDJ
Component/s: core apis
Affects Version/s: 7.0.0
Fix Version/s: 7.0.0

Type: Improvement Priority: Major
Reporter: Yannick Lecaillez Assignee: Yannick Lecaillez
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Epic Link: Common Repo
Story Points: 1
Dev Assignee: Yannick Lecaillez
QA Assignee: carole forel


Found by working on 'DJ as a shared-repo' - IDPAAS-65. IDM is using REST2LDAP which is configured with MVCC enabled. Result is that etag is systematically computed.

The EntityTagVirtualAttributeProvider is computing the etag value of an entry using Adler32 or CRC32.

The problem identified is that the computing is performed byte by byte, which is quite costly given that the update(int b) method is native.

Comment by carole forel [ 07/Nov/19 ]

Nothing to do on qa side

Generated at Tue Oct 20 03:27:54 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.