Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-2033

JCMA Preflights: Migrating filters with JCMA resulted in OOM

XMLWordPrintable

    • 5
    • Severity 1 - Critical
    • 105

      Issue Summary

      This is reproducible on Data Center: yes

      Steps to Reproduce

      • Not reproducible locally
      • For customer, the preflights failed with selecting one projects and migrating boards and filters in referenced mode.

      Expected Results

      Preflights check to complete successfully

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      2024-07-26 09:14:58,964-0400 JCMA-DryRunPreflightService-pool-19-thread-2 INFO anonymous 427x13982x2 1w0emkj 10.180.168.235 /rest/migration/latest/check/6351a8a1ee71971b6af75511be86dc2ac9c683d8 [c.a.j.m.e.c.f.service.jql.FilterJqlService] Filter[156543 -  TNG PMM NV48] is referring to projects [25400] with JQL[project = TNG AND issuetype = Task AND component = "PMM IP" AND Program in ("Navi31 [PRG-000249]", "Navi48 [PRG-000418]") ORDER BY key ASC, summary ASC, priority DESC, updated DESC]
      2024-07-26 09:14:58,964-0400 JCMA-DryRunPreflightService-pool-19-thread-2 INFO anonymous 427x13982x2 1w0emkj 10.180.168.235 /rest/migration/latest/check/6351a8a1ee71971b6af75511be86dc2ac9c683d8 [c.a.j.m.s.cpb.helper.CrossProjectEntityHelper] Filter with id: 156543 and name: TNG PMM NV48 has referring project ids: [25400] is not referring to multiple projects, Skipping..
      
      
      java.lang.OutOfMemoryError: Java heap space
      2024-07-26 11:16:34,376-0400 Caesium-1-1 ERROR ServiceRunner     [c.a.j.c.distribution.localq.LocalQCacheReplicator] [LOCALQ] Exception on replication of PUT. Java heap space. Cache: com.atlassian.cluster.monitoring.spi.ClusterMonitoring.cache
      java.lang.OutOfMemoryError: Java heap space
      2024-07-26 11:16:34,381-0400 Caesium-1-1 INFO ServiceRunner     [c.a.j.issue.index.DefaultIndexManager] Start to check for index consistency.
      2024-07-26 11:16:34,897-0400 Caesium-1-1 INFO ServiceRunner     [c.a.j.issue.index.DefaultIndexManager] Index consistency check finished. indexConsistent: true; timeToCheckIndexConsistency: 516 ms
      2024-07-26 11:16:34,898-0400 Caesium-1-1 INFO ServiceRunner     [c.a.jira.servlet.ApplicationStateResolverImpl] Checking index consistency. Time taken: 517.0 ms
      2024-07-26 11:16:34,898-0400 Caesium-1-1 ERROR ServiceRunner     [c.a.j.c.distribution.localq.LocalQCacheManager] [LOCALQ] Critical state of local cache replication queue - cannot add: LocalQCacheOp{cacheName='com.atlassian.cluster.monitoring.spi.ClusterMonitoring.cache', action=PUT, key=CustomSerializedValue{value=nodeKey{nodeId='node1', key='com.atlassian.jira.plugin.cluster.monitoring.internal.job.ApplicationStatusCollector'}, isValueSerializable='true', pluginKey='com.atlassian.jira.jira-cluster-monitoring-plugin'}, value == null ? false, replicatePutsViaCopy=true, creationTimeInMillis=1722006994898} to queue: [queueId=queue_node2_5_78882aaeb08e9a4c81687b5de2add74f_put, queuePath=/var/lib/jira/atlassian/application-data/jira/localq/queue_node2_5_78882aaeb08e9a4c81687b5de2add74f_put], error: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      2024-07-26 11:16:34,899-0400 Caesium-1-1 ERROR ServiceRunner     [c.a.j.c.distribution.localq.LocalQCacheReplicator] [LOCALQ] Exception on replication of PUT. Java heap space. Cache: com.atlassian.cluster.monitoring.spi.ClusterMonitoring.cache
      java.lang.OutOfMemoryError: Java heap space
      2024-07-26 11:16:50,018-0400 NodeReindexServiceThread:thread-0 INFO      [c.a.j.index.ha.ReIndexStatsLogger] [JIRA-STATS] [INDEX-REPLAY] [STATS] Node replay index operations stats (total): nodeId=node1, {"numberOfZeroOperations":28964,"numberOfRemoteOperations":{"count":46,"min":1,"max":1,"sum":46,"avg":1,"distributionCounter":{"10":46,"100":0,"1000":0,"10000":0}},"numberOfLocalOperations":{"count":12,"min":1,"max":2,"sum":17,"avg":1,"distributionCounter":{"10":12,"100":0,"1000":0,"10000":0}},"timeInMillis":{"count":58,"min":7,"max":1900550,"sum":3796697,"avg":65460,"distributionCounter":{"100":27,"500":1,"1000":0,"5000":0,"10000":5,"30000":12,"60000":6,"9223372036854775807":7}},"errors":0,"period":"5.083 min","compactInMillis":{"ISSUE":{"count":58,"min":0,"max":2,"sum":2,"avg":0,"distributionCounter":{"0":57,"1":0,"10":1}},"COMMENT":{"count":58,"min":0,"max":6819,"sum":6819,"avg":117,"distributionCounter":{"0":57,"1":0,"10":0,"9223372036854775807":1}},"WORKLOG":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{"0":58,"1":0,"10":0}}},"compactBeforeCounter":{"ISSUE":{"count":58,"min":1,"max":2,"sum":63,"avg":1,"distributionCounter":{}},"COMMENT":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}},"WORKLOG":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}}},"compactAfterCounter":{"ISSUE":{"count":58,"min":1,"max":16,"sum":132,"avg":2,"distributionCounter":{}},"COMMENT":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}},"WORKLOG":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}}},"compactVersionedCounter":{"ISSUE":{"count":58,"min":1,"max":16,"sum":133,"avg":2,"distributionCounter":{}},"COMMENT":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}},"WORKLOG":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}}},"compactUnVersionedCounter":{"ISSUE":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}},"COMMENT":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}},"WORKLOG":{"count":58,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{}}},"filterOutAlreadyIndexedInMillis":{"ISSUE":{"count":58,"min":0,"max":853355,"sum":1510846,"avg":26049,"distributionCounter":{"0":1,"1":1,"10":8,"50":22,"100":1,"500":0,"1000":0,"9223372036854775807":25}}},"filterOutAlreadyIndexedBeforeCounter":{"ISSUE":{"count":58,"min":1,"max":16,"sum":132,"avg":2,"distributionCounter":{}}},"filterOutAlreadyIndexedAfterCounter":{"ISSUE":{"count":58,"min":0,"max":3,"sum":5,"avg":0,"distributionCounter":{}}},"updateIndexInMillis":{"ISSUE":{"count":3,"min":12847,"max":1885787,"sum":1988422,"avg":662807,"distributionCounter":{"0":0,"1":0,"10":0,"50":0,"100":0,"500":0,"1000":0,"5000":0,"10000":0,"30000":1,"60000":0,"300000":1,"9223372036854775807":1}}},"updateIndexCounter":{"ISSUE":{"count":3,"min":1,"max":3,"sum":5,"avg":1,"distributionCounter":{}}},"updateIndexBatchCounter":{"ISSUE":{"count":3,"min":1,"max":1,"sum":3,"avg":1,"distributionCounter":{}}}}
       

      Workaround

      Please select the None mode of cross project boards and filters to unblock the migration excluding cross project boards and filters

      Currently there is no workaround around this error if you want to migrate boards and filters. 

              dweerasinghe@atlassian.com Dilan Weerasinghe
              384972feb2f4 aaggarwal2
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: