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

Proxy overwrites local lastlogsize/mtime changes with server data during configuration sync

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 75 (Apr 2021), Sprint 76 (May 2021)
    • Story Points:
      1

      Description

      The following code is used to build list of fields to skip:

      	if (NULL == table_items)
      	{
      		table_items = DBget_table("items");
      
      		/* do not update existing lastlogsize and mtime fields */
      		zbx_vector_ptr_create(&skip_fields);
      		zbx_vector_ptr_append(&skip_fields, (void *)DBget_field(table_items, "lastlogsize"));
      		zbx_vector_ptr_append(&skip_fields, (void *)DBget_field(table_items, "mtime"));
      		zbx_vector_ptr_sort(&skip_fields, ZBX_DEFAULT_PTR_COMPARE_FUNC);
      	}
      

      However the lastlogsize/mtime fields were moved to item_rtdata so the skip_fields vector will contain NULLs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgoloscapov Dmitrijs Goloscapovs
              Reporter:
              wiper Andris Zeila
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: