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

getMore command against awaitData cursor does not block

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.2.0-rc0
    • Affects Version/s: 3.1.9
    • Component/s: 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)

      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.

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

              Created:
              Updated:
              Resolved: