-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF68
-
Component/s: Directory
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #74
-
Story Points:5
Since NXP-27137 and https://github.com/nuxeo/nuxeo/commit/4da62a51259bd2204f9009f0ec5ad4d9df8f3eb6
the AbstractProperty#isDeprecated has been optimized and is not building tons of XPath for nothing when there is no deprecated property.
This could prevent some observed contention like this:
java.lang.Thread.State: RUNNABLE
at java.lang.StringBuilder.append(StringBuilder.java:213)
at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.getXPath(AbstractProperty.java:171)
at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.getXPath(AbstractProperty.java:161)
at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.isDeprecated(AbstractProperty.java:372)
at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValueDeprecation(AbstractProperty.java:438)
at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValue(AbstractProperty.java:426)
at org.nuxeo.ecm.core.api.model.impl.ListProperty.setValue(ListProperty.java:270)
at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValue(AbstractProperty.java:465)
at org.nuxeo.ecm.core.api.impl.DataModelImpl.setData(DataModelImpl.java:101)
at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.setProperty(DocumentModelImpl.java:790)
at org.nuxeo.directory.mongodb.MongoDBSession.doQuery(MongoDBSession.java:358)
- is related to
-
NXP-31378 Remove potential contention in flag property check
- Resolved