Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2534

why the getmore method sudden stop

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.2
    • API
    • None

    Description

      use the code bellow:
      MongoCollection<Document> collection = database.getCollection("oplog.rs");
      MongoCursor<Document> cursor = collection.find().cursorType(CursorType.TailableAwait).iterator();
      while(cursor.hasNext())

      { System.out.println(cursor.next().toJson()); }

      why the getmore command disappeare

      Attachments

        1. 20170609.log
          557 kB
        2. 无标题.png
          无标题.png
          111 kB

        Activity

          People

            Unassigned Unassigned
            yin kunyin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: