Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15303

passes >= maxPasses in oplog

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.3
    • Component/s: Replication
    • None
    • ALL
    • Hide

      Seems to happen randomly (based on what is at the tail of the oplog?)

      Show
      Seems to happen randomly (based on what is at the tail of the oplog?)

      While running a major batch run, which updates a lot of documents, we are occasionally seeing this error:

      MongoDB.Driver.WriteConcernException: WriteConcern detected an error 'passes >= maxPasses in NamespaceDetails::cappedAlloc: ns: local.oplog.rs, len: 1060528, maxPasses: 35352, _maxDocsInCapped: 2147483647, nrecords: 8019946, datasize: 8426545700'. (Response was { "ok" : 1, "code" : 10345, "err" : "passes >= maxPasses in NamespaceDetails::cappedAlloc: ns: local.oplog.rs, len: 1060528, maxPasses: 35352, _maxDocsInCapped: 2147483647, nrecords: 8019946, datasize: 8426545700", "n" : NumberLong(0), "updatedExisting" : false }).


      It causes an exception in the client (.NET) application.
      Apparently the error is generated in cap.cpp
      As far as I can tell from the error message, the document is 1060528, and it gives up after having removed 35352 documents from the oplog.
      We have seen this error 8 times since July 5 (on a job that runs daily).
      len varies between 200k and 1600k

            Assignee:
            Unassigned Unassigned
            Reporter:
            tmh@fundconnect.com Thomas Hjorslev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: