[ https://issues.apache.org/jira/browse/OAK-10890 ]


    Stefan Egli deleted comment on OAK-10890:
    -----------------------------------

was (Author: JIRAUSER305793):
ERROR message encounter in splunk: 

msg: [qtp1617000337-4715] org.apache.jackrabbit.vault.fs.io.AutoSave Error 
during auto save, retrying after refresh: 
javax.jcr.nodetype.ConstraintViolationException: OakConstraint0030: Uniqueness 
constraint violated property [jcr:uuid] having value 
97a322dc-58c6-4ffb-9338-3f65fafc25c5: 
/content/heliux/beauty/skp/language-masters/pl/colour/blondme-colour/lifting-and-blending/lift-blend/jcr:content,
 
/content/heliux/beauty/skp/language-masters/pl/colour/blondme-colour1/lifting-and-blending/lift-blend/jcr:content.
 Caused by org.apache.jackrabbit.oak.api.CommitFailedException: 
OakConstraint0030: Uniqueness constraint violated property [jcr:uuid] having 
value 97a322dc-58c6-4ffb-9338-3f65fafc25c5: 
/content/heliux/beauty/skp/language-masters/pl/colour/blondme-colour/lifting-and-blending/lift-blend/jcr:content,
 
/content/heliux/beauty/skp/language-masters/pl/colour/blondme-colour1/lifting-and-blending/lift-blend/jcr:content

> Logging for constraint violations (UUID already exists)
> -------------------------------------------------------
>
>                 Key: OAK-10890
>                 URL: https://issues.apache.org/jira/browse/OAK-10890
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: documentmk
>            Reporter: Ionut Pirlogea
>            Priority: Trivial
>
> In cases where we notice a "uuid already exists" constraint violation - 
> something that eg can happen when reimporting the same content which was 
> previously semi-imported - we should increment a metric and ensure we log the 
> required information (unless the latter is already done through the current 
> exception - but even then we might want to add perhaps an additional, 
> explicit log about just the encounter, independent-of/in-addition-to the 
> exception).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to