Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-15022

Parameters of removed item preprocessing steps are not removed from cache

XMLWordPrintable

    • Sprint 45, Sprint 46, Nov 2018
    • 0.5

      Preprocessing step parameters are stored in string pool and not released when preprocessing step is removed from cache.

      Index: src/libs/zbxdbcache/dbconfig.c
      ===================================================================
      --- src/libs/zbxdbcache/dbconfig.c      (revision 85639)
      +++ src/libs/zbxdbcache/dbconfig.c      (working copy)
      @@ -4363,6 +4363,7 @@
                              }
                      }
       
      +               zbx_strpool_release(op->params);
                      zbx_hashset_remove_direct(&config->preprocops, op);
              }
      
      
      

            wiper Andris Zeila
            wiper Andris Zeila
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: