Details
-
Suggestion
-
Resolution: Fixed
Description
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
Instead of using the getProjectObject() used the getProjectId() to reduce the time taken for indexing.
Trace for reference:
"IssueIndexer:thread-9" #1642 prio=5 os_prio=0 tid=0x00002b47d1ad6000 nid=0xc98 runnable [0x00002b490ea71000] java.lang.Thread.State: RUNNABLE at com.google.common.cache.LocalCache$AccessQueue.contains(LocalCache.java:3847) at com.google.common.cache.LocalCache$Segment.drainRecencyQueue(LocalCache.java:2624) at com.google.common.cache.LocalCache$Segment.expireEntries(LocalCache.java:2648) at com.google.common.cache.LocalCache$Segment.runLockedCleanup(LocalCache.java:3484) at com.google.common.cache.LocalCache$Segment.cleanUp(LocalCache.java:3476) at com.google.common.cache.LocalCache$Segment.postReadCleanup(LocalCache.java:3452) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2238) at com.google.common.cache.LocalCache.get(LocalCache.java:3970) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4834) at com.atlassian.cache.memory.DelegatingCachedReference.get(DelegatingCachedReference.java:56) at com.atlassian.jira.project.CachingProjectManager.getProjectObj(CachingProjectManager.java:101) at com.atlassian.jira.issue.IssueImpl.getProjectObject(IssueImpl.java:354) at com.atlassian.jira.issue.context.persistence.CachingFieldConfigContextPersister.getRelevantConfigSchemeId(CachingFieldConfigContextPersister.java:176) at com.atlassian.jira.issue.fields.config.manager.FieldConfigSchemeManagerImpl.isRelevantForIssueContext(FieldConfigSchemeManagerImpl.java:287) at com.atlassian.jira.issue.fields.CustomFieldImpl.isRelevantForIssueContext(CustomFieldImpl.java:674) at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.isRelevantForIssue(AbstractCustomFieldIndexer.java:62)
Attachments
Issue Links
- is related to
-
JRASERVER-41623 Reduce indexing time by explicitly requesting for project ID instead of project's objects
- Closed