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.

            Assignee:
            Rudolfs Zvejs (Inactive)
            Reporter:
            Rudolfs Zvejs (Inactive)
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: