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

Investigate capped collection tailing behavior on local collections

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution
    • ALL

    Description

      Capped collections on the local database don't use so-called "metadata lock" that serializes write operations. This may be a problem for tailable cursors, which could skip over "holes". That is, the tailable cursors may skip over records that have not yet committed or are committed in a later snapshot.

      The oplog solves this problem by only showing records that are guaranteed to have no uncommitted writes before them.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: