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

mongodb plugin oplog metric handler broken logic

XMLWordPrintable

    • 1

      OplogStatsHandler checks replica set, then master slave timestamps, returning master slave timestamps only if replica set returned no documents. that is the intended behaviour at least.

      the actiual behaviour is that only replica set is returned and if no documents error is encountered when retrieving it is returned.

      Update oplog handler to check against mongo.ErrNoDocuments. Fix unit tests. Keep in mind that zbxerr wrap approach is broken.

            rzvejs Rudolfs Zvejs
            rzvejs Rudolfs Zvejs
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: