Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16261

Large datasets in Assets for Data Center in a short period of time that can flood the clustermessage table with INSIGHT_DATA_CACHE.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 5.12.11, 10.3.0, 10.6.1
    • Assets - Indexing

      Issue Summary

      There is a known issue with importing large datasets in Assets for Data Center in a short period of time that can flood the clustermessage table with INSIGHT_DATA_CACHE. Due to this volume, several potential causes may prevent the service ClusterMessageCleaningService from deleting the messages, including:

      • Rapid message generation: If messages are being created faster than they can be deleted (e.g., during large imports, automation etc.)
      • Insufficient cleanup frequency: Default daily interval might be too infrequent for high-volume environments
      • Index contention: Heavy read/write activity on the clustermessage table during cleanup

      Steps to Reproduce

      1. Have a large dataset for clustermessage table with over 180M rows for ticket connections.
      2. Configure data retention period for clustermessage table
        • RETENTION_PERIOD: 2880m
        • Execution time: daily at 03:30 AM

      Expected Results

      The only criteria or condition it checks is MESSAGE_TIME < (current_time - retention_period) where the retention period can be configured in the advanced settings

      All records older than the retention_period should be deleted

      Actual Results

      No rows from clustermessage are being deleted.

      Workaround

      We recommend the customers to delete old entries in the clustermessage table for messages relating to INSIGHT. Example query below, where 'message_time' should be replaced!

      DELETE FROM clustermessage WHERE message like '%INSIGHT%' AND message_time < '2025-06-06 00:00:00'
      

      Once this is done, we recommend the customer to perform Assets reindexing.

      Always back up your data before making any database modifications. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.

      Versions Tested

      Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below: 

      Testing Requirements Version Affected Version
      Customers Reported Version 5.12.11 Yes
      Most Recent Bug-Fix Release 10.6.1 Yes
      Previous Major Release    
      Most Recent LTS    
      Previous Supported LTS    
      Other Versions..    
      (Add rows as needed)    

            [JSDSERVER-16261] Large datasets in Assets for Data Center in a short period of time that can flood the clustermessage table with INSIGHT_DATA_CACHE.

            Bartosz Ornatowski made changes -
            Affects Version/s New: 10.3.0 [ 109406 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Benjamin Suess made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Security Metrics Bot made changes -
            Labels New: ril
            Security Metrics Bot made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 1027241 ]
            Pablo Bartolome created issue -

              Unassigned Unassigned
              9f03f4114502 Pablo Bartolome
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: