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

getMore command against awaitData cursor does not block

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 3.1.9
    • 3.2.0-rc0
    • Querying
    • None
    • Fully Compatible
    • ALL
    • Hide

      In a 3.1.9 shell (or an earlier shell with --readMode commands):

      db.c.drop()
      db.createCollection("c", {capped: true, size: 1024});
      db.c.insert({_id: 1});
      db.c.find().addOption(DBQuery.Option.tailable).addOption(DBQuery.Option.awaitData);
      

      Show
      In a 3.1.9 shell (or an earlier shell with --readMode commands): db.c.drop() db.createCollection("c", {capped: true, size: 1024}); db.c.insert({_id: 1}); db.c.find().addOption(DBQuery.Option.tailable).addOption(DBQuery.Option.awaitData);
    • RPL A (10/09/15)

    Description

      This is a regression introduced under SERVER-20604 in commit https://github.com/mongodb/mongo/commit/a8e6c0ebc70fad95a5e05281076cfa4b6db500c2. It affects only the getMore command, not OP_GET_MORE. Affects only development release 3.1.9.

      Attachments

        Issue Links

          Activity

            People

              milkie@mongodb.com Eric Milkie
              david.storch@mongodb.com David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: