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

Zabbix Proxy drop to send some data

    XMLWordPrintable

    Details

      Description

      Zabbix Proxy 1.8.x drop to send some data. It depends on transaction delay to DB.

      In Zabbix Proxy...
      Process A: in DCsync_history() calls transacation with DCmass_proxy_add_history() and DCmass_proxy_update_items().
      But DCmass_proxy_update_items() is delayed for some reason.
      Process B: my call DCmass_proxy_add_history() and commited. But Process A is not completed.
      Process C: try to send data to Server. Then it reads the data from DB which commited by Process B. But currently Process A is not completed, so it can not read Process A's data.
      Aftere then, Process A is completed. But as lastid is updated, Process A's data is never sent to Server.

      So, I think that for resolving this problem, you shuld insert the WRITE Table lock for DCmass_proxy_add_history() and DCmass_proxy_update_items().

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            daiki.matsuda@miraclelinux.com MATSUDA Daiki
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: