<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12332</bug_id>
          
          <creation_ts>2017-11-10 04:01:18 +0000</creation_ts>
          <short_desc>Regularly purge the error report database</short_desc>
          <delta_ts>2018-09-14 19:49:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Error Reporting tool</product>
          <component>Error Reporting Tool</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.7 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>amanda.r.brindle</cc>
    
    <cc>mhalstead</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>stephano</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78137</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-11-10 04:01:18 +0000</bug_when>
    <thetext>The error report database has grown to a huge size, and this is significantly affecting the performance of the application. We need to purge the database on a regular basis to get rid of old reports that we don&apos;t need.

About the only complication I can think of is that reports may be linked from bugzilla and those may need to stay around for longer. We could potentially have the application look at the referrer and make the entry &quot;sticky&quot; if it&apos;s bugzilla, that&apos;s probably the easiest way to deal with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81567</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2018-09-14 19:49:59 +0000</bug_when>
    <thetext>Purge is running from cron every day now. We are keeping 180 days back plus any viewed reports. We will reduce to 30 day retention over time.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>